Confirmed users
429
edits
Ricky Chien (talk | contribs) |
Ricky Chien (talk | contribs) No edit summary |
||
| Line 15: | Line 15: | ||
[[File:New build system architecture 2.png|1100x651px|Configure architecture]] | [[File:New build system architecture 2.png|1100x651px|Configure architecture]] | ||
== Configure == | == Configure == | ||
This plan focuses on constructing a powerful configure, it will separate current modules such as webapp-shared, webapp-optimiz, multilocale...etc to configure and builder. | This plan focuses on constructing a powerful configure, it will separate current modules such as webapp-shared, webapp-optimiz, multilocale...etc to configure and builder. | ||
== Build config / Environment variable manager == | == Build config / Environment variable manager == | ||
A manager to provide an elegant way to handle build config. | A manager to provide an elegant way to handle build config. | ||
== Configure cache == | == Configure cache == | ||
| Line 33: | Line 30: | ||
== Well-defined common API == | == Well-defined common API == | ||
Buildit API could keep tracking file dependency when build script is trying to do anything related to a file. It strongly connects to cache and store these file dependency in cache for further use. | Buildit API could keep tracking file dependency when build script is trying to do anything related to a file. It strongly connects to configure cache and store these file dependency in cache for further use. | ||
== | == Robust incremental build == | ||
Incremental build should generate same result every time no matter how build script be invoked. We should allow user to launch 'configure' or 'make' command from everywhere, and everything will work fine under protective umbrella. Executing a Makefile in sub-directory will generate the same subset result as expect too. Default behavior of executing a Makefile in sub-directory would take build config from cache as default argument, of course, user still could overwrite it by specifying build config. | |||
= Plan = | = Plan = | ||