summaryrefslogtreecommitdiffstats
path: root/test/chained-build.py
diff options
context:
space:
mode:
authorSteven Knight <knight@baldmt.com>2002-06-05 23:35:56 (GMT)
committerSteven Knight <knight@baldmt.com>2002-06-05 23:35:56 (GMT)
commit2f7d4f660fd048edc342a989d25c94d7b52ab13e (patch)
tree20def5c6f0f7b68ab7151cac4ada5c470a3b31e0 /test/chained-build.py
parent42717c855f7cbb73d3017ac243a34491d3cc0c53 (diff)
downloadSCons-2f7d4f660fd048edc342a989d25c94d7b52ab13e.zip
SCons-2f7d4f660fd048edc342a989d25c94d7b52ab13e.tar.gz
SCons-2f7d4f660fd048edc342a989d25c94d7b52ab13e.tar.bz2
Changes from Charles Crain.
Diffstat (limited to 'test/chained-build.py')
-rw-r--r--test/chained-build.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/chained-build.py b/test/chained-build.py
index 98eb992..1a7daf9 100644
--- a/test/chained-build.py
+++ b/test/chained-build.py
@@ -33,7 +33,7 @@ def build(env, target, source):
open(str(target[0]), 'wt').write(open(str(source[0]), 'rt').read())
print "built %s"%target[0]
-env=Environment(BUILDERS=[Builder(name='B', action=build)])
+env=Environment(BUILDERS={'B' : Builder(action=build)})
env.B('foo.mid', 'foo.in')
""")
@@ -42,7 +42,7 @@ def build(env, target, source):
open(str(target[0]), 'wt').write(open(str(source[0]), 'rt').read())
print "built %s"%target[0]
-env=Environment(BUILDERS=[Builder(name='B', action=build)])
+env=Environment(BUILDERS={'B' : Builder(action=build)})
env.B('foo.out', 'foo.mid')
""")