2
0
mirror of https://gitlab.com/ita1024/waf.git synced 2024-11-23 02:16:01 +01:00
waf/docs/book/examples/execution_recurse/wscript

17 lines
295 B
Plaintext
Raw Normal View History

2011-09-10 11:13:51 +02:00
#! /usr/bin/env python
"""
The following command:
$ waf ping
Will not give the expected result because this folder belongs to a bigger project.
Call 'configure' first:
$ waf configure
Then after:
$ waf ping
"""
def ping(ctx):
print('→ ping from ' + ctx.path.abspath())
ctx.recurse('src')