Line | |
---|
1 | build_cmds=''' |
---|
2 | rm -rf .release; |
---|
3 | mkdir -p `dirname .release/$SOURCE`; |
---|
4 | svn export svn+ssh://sentinelchicken.org/home/projects/subversion/reglookup/$SOURCE .release/$SOURCE; |
---|
5 | #XXX: Can this be less of a hack? |
---|
6 | cd .release/$SOURCE && scons doc && cd ..; |
---|
7 | cd .release && tar cf $SOURCE.tar $SOURCE && gzip -9 $SOURCE.tar; |
---|
8 | mv .release/$SOURCE.tar.gz .. |
---|
9 | ''' |
---|
10 | release_builder = Builder(action=build_cmds) |
---|
11 | |
---|
12 | env = Environment() |
---|
13 | env['BUILDERS']['Release'] = release_builder |
---|
14 | |
---|
15 | |
---|
16 | env.Release('trunk') |
---|
17 | |
---|
18 | |
---|
19 | |
---|
20 | |
---|
21 | Default(None) |
---|
Note: See
TracBrowser
for help on using the repository browser.