summaryrefslogtreecommitdiffstats
path: root/tcllib/support/shed.tcl
blob: 17d3f6ce8673c5bbf83436571ba4e946e8115a69 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
###
# Build basic description of this tool
###

###
# List of mirrors
###
#tool mirror http://core.tcl.tk/tcllib 
#tool mirror http://fossil.etoyoc.com/fossil/tcllib
###
# Populate the branches
###
my shed set name: tcllib
my shed set installer: sak
my add {
  name: trunk
  linktype: release
  checkout: trunk
}
foreach release {
  1.17 1.16 1.15 1.14 1.13 1.12 1.11.1 1.11 1.10
  1.9 1.8 1.7 1.6.1 1.4 1.3 1.2.0 1.2 1.1 1.0
  0.8 0.6.1 0.6 0.5 0.4
} {
  set checkout tcllib-[join [split $release .] -]
  my add [list name: $checkout linktype: release version: $release checkout: $checkout]
}

foreach file [glob [file join $::TOOL_ROOT apps *]] {
  if {[file extension $file] ne {}} continue
  my scan $file {class: application}
}

###
# Build the module section
###
foreach path [glob [file join $::TOOL_ROOT modules *]] {
  puts "SCANNING $path"
  my scan $path {class: source}
}