mirror of
https://github.com/Relintai/scons_gd.git
synced 2025-04-19 21:53:13 +02:00
12 lines
298 B
Python
12 lines
298 B
Python
def pre(target, source, env):
|
|
pass
|
|
def post(target, source, env):
|
|
pass
|
|
def build(target, source, env):
|
|
with open(str(target[0]), 'wb') as f:
|
|
f.write(b'build()\n')
|
|
env = Environment(tools=[])
|
|
AddPreAction('dir', pre)
|
|
AddPostAction('dir', post)
|
|
env.Command('dir/file', [], build)
|