diff options
Diffstat (limited to 'library/manifest.txt')
-rw-r--r-- | library/manifest.txt | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/library/manifest.txt b/library/manifest.txt new file mode 100644 index 0000000..6b70b24 --- /dev/null +++ b/library/manifest.txt @@ -0,0 +1,20 @@ +### +# Package manifest for all Tcl packages included in the /library file system +### +apply {{dir} { + set ::test [info script] + set isafe [interp issafe] + foreach {safe package version file} { + 0 http 2.10a4 {http http.tcl} + 1 msgcat 1.7.1 {msgcat msgcat.tcl} + 1 opt 0.4.8 {opt optparse.tcl} + 0 cookiejar 0.2.0 {cookiejar cookiejar.tcl} + 0 tcl::idna 1.0.1 {cookiejar idna.tcl} + 0 platform 1.0.18 {platform platform.tcl} + 0 platform::shell 1.1.4 {platform shell.tcl} + 1 tcltest 2.5.4 {tcltest tcltest.tcl} + } { + if {$isafe && !$safe} continue + package ifneeded $package $version [list source [file join $dir {*}$file]] + } +}} $dir |