You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
This repo is archived. You can view files and clone it, but cannot push or open issues/pull-requests.
waf_old/docs/book/examples/execution_recurse/wscript

17 lines
295 B
Python

#! /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')