diff options
author | William Deegan <bill@baddogconsulting.com> | 2021-04-09 21:09:27 (GMT) |
---|---|---|
committer | William Deegan <bill@baddogconsulting.com> | 2021-04-09 21:09:27 (GMT) |
commit | b94e951f0a1274d3dc6a70f1f8aaa6fc5abfb9ce (patch) | |
tree | 070d4b13089be6fb896fd867ce414c49464d4db7 /test/Progress | |
parent | 44891ad18a7f43d55f8839191a2606d14761f90e (diff) | |
download | SCons-b94e951f0a1274d3dc6a70f1f8aaa6fc5abfb9ce.zip SCons-b94e951f0a1274d3dc6a70f1f8aaa6fc5abfb9ce.tar.gz SCons-b94e951f0a1274d3dc6a70f1f8aaa6fc5abfb9ce.tar.bz2 |
[ci skip] fix format on test SConstruct
Diffstat (limited to 'test/Progress')
-rw-r--r-- | test/Progress/multi_target_fixture/SConstruct | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/test/Progress/multi_target_fixture/SConstruct b/test/Progress/multi_target_fixture/SConstruct index b164170..5a16f05 100644 --- a/test/Progress/multi_target_fixture/SConstruct +++ b/test/Progress/multi_target_fixture/SConstruct @@ -1,10 +1,15 @@ import SCons + + class ProgressTest: def __call__(self, node): if node.get_state() == SCons.Node.executing: print(node) + env = Environment(tools=[]) -env.Command(target=['out1.txt', 'out2.txt'], source=['in.txt'], action=Action('echo $SOURCE > ${TARGETS[0]};echo $SOURCE > ${TARGETS[1]}', None)) -Progress(ProgressTest())
\ No newline at end of file +env.Command(target=['out1.txt', 'out2.txt'], source=['in.txt'], action=Action( + 'echo $SOURCE > ${TARGETS[0]};echo $SOURCE > ${TARGETS[1]}', None)) +Progress(ProgressTest()) + |