File: Index.tcl

package info (click to toggle)
dart 0.20061109-1
  • links: PTS
  • area: main
  • in suites: etch, etch-m68k, lenny
  • size: 5,668 kB
  • ctags: 247
  • sloc: tcl: 5,652; perl: 256; python: 141; cpp: 79; makefile: 68; sh: 36
file content (11 lines) | stat: -rw-r--r-- 313 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
# Source all of the files here that are .tcl, and not DashboardManager.tcl

set DoNotSource [list DashboardManager.tcl Index.tcl Cat.tcl]
set dir [file dir [info script]]

foreach file [glob -nocomplain [file join $dir *.tcl]] {
  
  if { [lsearch $DoNotSource [file tail $file]] == -1 } {
    source $file
  }
}