diff options
author | Steven Knight <knight@baldmt.com> | 2002-06-05 23:35:56 (GMT) |
---|---|---|
committer | Steven Knight <knight@baldmt.com> | 2002-06-05 23:35:56 (GMT) |
commit | 2f7d4f660fd048edc342a989d25c94d7b52ab13e (patch) | |
tree | 20def5c6f0f7b68ab7151cac4ada5c470a3b31e0 /test/option--D.py | |
parent | 42717c855f7cbb73d3017ac243a34491d3cc0c53 (diff) | |
download | SCons-2f7d4f660fd048edc342a989d25c94d7b52ab13e.zip SCons-2f7d4f660fd048edc342a989d25c94d7b52ab13e.tar.gz SCons-2f7d4f660fd048edc342a989d25c94d7b52ab13e.tar.bz2 |
Changes from Charles Crain.
Diffstat (limited to 'test/option--D.py')
-rw-r--r-- | test/option--D.py | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/test/option--D.py b/test/option--D.py index b1d06b0..dbfbb3e 100644 --- a/test/option--D.py +++ b/test/option--D.py @@ -44,8 +44,9 @@ file.close() test.write('SConstruct', """ import SCons.Defaults -B = Builder(name='B', action='%s build.py $TARGET $SOURCES') -env = Environment(BUILDERS = [B, SCons.Defaults.Alias]) +B = Builder(action='%s build.py $TARGET $SOURCES') +env = Environment() +env['BUILDERS']['B'] = B env.B(target = 'sub1/foo.out', source = 'sub1/foo.in') Export('env') SConscript('sub1/SConscript') |