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_ping/wscript

15 lines
242 B
Python

#! /usr/bin/env python
"""
Move the folder to /tmp for example and call
$ waf ping pong
The context objects 'ctx' are different instances
"""
def ping(ctx):
print(' ping! %d' % id(ctx))
def pong(ctx):
print(' pong! %d' % id(ctx))