summaryrefslogtreecommitdiffstats
path: root/test/Actions/pre-post-fixture/work3/SConstruct
blob: 0e13fa2a89df364794e9fdd086c47470d9085ba0 (plain)
1
2
3
4
5
6
7
8
9
10
def pre(target, source, env):
    pass
def post(target, source, env):
    pass
def build(target, source, env):
    open(str(target[0]), 'wb').write(b'build()\n')
env = Environment()
AddPreAction('dir', pre)
AddPostAction('dir', post)
env.Command('dir/file', [], build)