mirror of
https://github.com/Relintai/scons_gd.git
synced 2025-04-21 22:01:19 +02:00
13 lines
255 B
Python
13 lines
255 B
Python
fnode = File(u'foo.txt')
|
|
|
|
def funcact(target, source, env):
|
|
with open(str(target[0]), 'wb') as f:
|
|
f.write(b"funcact\n")
|
|
for i in range(300):
|
|
pass
|
|
return 0
|
|
|
|
env = Environment()
|
|
|
|
env.Command(fnode, [], ["echo $TARGET", funcact])
|