Confirmed users
478
edits
(draft) |
(+ cleaning up) |
||
| (One intermediate revision by the same user not shown) | |||
| Line 20: | Line 20: | ||
** when build config changes (per build_stage dir) | ** when build config changes (per build_stage dir) | ||
** when configure source script changes | ** when configure source script changes | ||
== Interface with app build scripts == | |||
* Provide a hook to sub-project in the source tree (e.g. we will call |configure| and/or |make| on the source dir of the app and pass all the arguments) and let it build | * Provide a hook to sub-project in the source tree (e.g. we will call |configure| and/or |make| on the source dir of the app and pass all the arguments) and let it build | ||
** Provide a hook to sub-project to specify it's own set of output files, so our follow-up commands (packing etc) can depend on them, OR, | ** Provide a hook to sub-project to specify it's own set of output files, so our follow-up commands (packing etc) can depend on them, OR, | ||
** When the sub-project build command unable to produce | ** When the sub-project build command unable to produce the list of output files, properly set our commands as PHONY targets that runs every time when it's build script is run. | ||
== Cleaning up == | |||
* No logic in $GAIA/Makefile | |||
* Eventually run JavaScript with node from the command line with simple command (|node myscript.js|) | |||