diff options
Diffstat (limited to 'test/Alias.py')
-rw-r--r-- | test/Alias.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/test/Alias.py b/test/Alias.py index 6dae8a7..aff9c2a 100644 --- a/test/Alias.py +++ b/test/Alias.py @@ -41,9 +41,9 @@ sys.exit(0) """) test.write('SConstruct', """ -B = Builder(name = "B", action = r"%s build.py $TARGET $SOURCES") -builders = Environment().Dictionary('BUILDERS') -env = Environment(BUILDERS = builders + [ B ]) +B = Builder(action = r"%s build.py $TARGET $SOURCES") +env = Environment() +env['BUILDERS']['B'] = B env.B(target = 'f1.out', source = 'f1.in') env.B(target = 'f2.out', source = 'f2.in') env.B(target = 'f3.out', source = 'f3.in') |