waf

FORK: waf with some random patches
git clone https://git.neptards.moe/neptards/waf.git
Log | Files | Refs | README

wscript_build (602B)


      1 #! /usr/bin/env python
      2 # encoding: utf-8
      3 
      4 if bld.env['PYTHON']:
      5 	bld(
      6 			features    = 'subst',
      7 			source      = 'test.py.in',
      8 			target      = 'test.1.py',
      9 			NAME        = 'first test3',
     10 			EXIT_STATUS = '0',
     11 	)
     12 	bld(
     13 			features    = 'subst',
     14 			source      = 'test.py.in',
     15 			target      = 'test.2.py',
     16 			NAME        = 'second test3',
     17 			EXIT_STATUS = '0',
     18 	)
     19 	paths = {
     20 			'PYTHONPATH': bld.path.abspath()
     21 	}
     22 	bld(
     23 			features              = 'test_scripts',
     24 			test_scripts_source   = 'test.1.py test.2.py',
     25 			test_scripts_template = '${PYTHON} ${SCRIPT}',
     26 			test_scripts_paths    = paths
     27 	)
     28 
     29