mirror of
https://gitlab.com/ita1024/waf.git
synced 2024-11-26 11:51:20 +01:00
20 lines
370 B
Python
20 lines
370 B
Python
#! /usr/bin/env python
|
|
|
|
"""
|
|
A few examples of ant_glob. Try
|
|
$ waf configure dosomething
|
|
"""
|
|
|
|
top = '.'
|
|
out = 'build'
|
|
|
|
def configure(ctx):
|
|
pass
|
|
|
|
def dosomething(ctx):
|
|
print(ctx.path.ant_glob('wsc*'))
|
|
print(ctx.path.ant_glob('w?cr?p?'))
|
|
print(ctx.root.ant_glob('usr/include/**/zlib*', dir=False, src=True))
|
|
print(ctx.path.ant_glob(['**/*py'], excl=['**/default*']))
|
|
|