bash - Using Scons to run other build scripts "underneath" -


i'm working on contract enhance huge gnarly build system that's based on scons bunch of shell scripts , makefiles intertwined it.

the system runs bunch of individual scons commands , request client put in "top level" sconscript control underlying scons runs.

i got work using command function:

tgt = env.command('bogus.out', 'bogus.in', "./stc.sh") 

where shell script 'stc.sh' removes next target's controlling fake file 'pkgbogus.out':

tgt2 = env.command('pkgbogus.out', 'pkgbogus.in', "./stcpkg.sh") 

this works fine, , understand out of scope normal scons use ... there slicker way without these 'bogus' files?


Comments

Popular posts from this blog

apache - PHP Soap issue while content length is larger -

asynchronous - Python asyncio task got bad yield -

javascript - Complete OpenIDConnect auth when requesting via Ajax -