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.
20 lines
302 B
Python
20 lines
302 B
Python
#! /usr/bin/env python
|
|
|
|
"""
|
|
Several build commands are defined by default, for example:
|
|
$ waf configure clean build list install uninstall
|
|
"""
|
|
|
|
top = '.'
|
|
out = 'build_directory'
|
|
|
|
def configure(ctx):
|
|
print(ctx.cmd)
|
|
|
|
def build(ctx):
|
|
if ctx.cmd == 'clean':
|
|
print('cleaning!')
|
|
else:
|
|
print(ctx.cmd)
|
|
|