pebble/tools/wscript
2025-01-27 11:38:16 -08:00

19 lines
492 B
Python

import os
def configure(conf):
pass
def build(bld):
if bld.variant in ('test', 'test_rocky_emx', 'pdc2png'):
bld.recurse('pdc2png')
if bld.variant == 'test':
bld.recurse('tests')
# This variant is not supported yet, but can be used to build all tools
if bld.variant == 'tools':
tool_dirs = [os.path.dirname(f.abspath()) for f in bld.path.ant_glob('**/wscript')]
for dir in tool_dirs:
bld.recurse(dir)
# vim:filetype=python