mirror of
https://gitlab.com/ita1024/waf.git
synced 2024-11-15 22:48:47 +01:00
23 lines
291 B
Plaintext
23 lines
291 B
Plaintext
Waf 1.6.x
|
|
---------
|
|
|
|
* fix the remaining bugs
|
|
* provide more extensions
|
|
|
|
|
|
Can be useful:
|
|
|
|
def bld_command(*k):
|
|
fun = k[0]
|
|
name = fun.__name__
|
|
from waflib.Build import BuildContext
|
|
class tmp(BuildContext):
|
|
cmd = name
|
|
fun = name
|
|
return fun
|
|
|
|
@bld_command
|
|
def foo(ctx):
|
|
print ctx.env
|
|
|