Gaia/Build/RefactoringToNodejs: Difference between revisions

No edit summary
Line 67: Line 67:
** Bug ? - Refactor all build/*.js to conform to node-style
** Bug ? - Refactor all build/*.js to conform to node-style


== Milestone 3 (Draft) ==
== Milestone 3 ==


The M3 goal is to simplify make Makefile into merely a compatibility layer for the existing commands, and move all the logic into external JavaScript-based build tools. By doing so it would improve the maintainability and readability of the build system. We tentatively choose [http://gulpjs.com/ Gulp.js] as target currently as it offers [https://github.com/gulpjs/gulp#incremental-builds incremental builds] and stream workflow.
The M3 goal is to simplify make Makefile into merely a compatibility layer for the existing commands, and move all the logic into external JavaScript-based build tools. By doing so it would improve the maintainability and readability of the build system. We tentatively choose [http://gulpjs.com/ Gulp.js] as target currently as it offers [https://github.com/gulpjs/gulp#incremental-builds incremental builds] and stream workflow.
Line 80: Line 80:
*** Incremental build  
*** Incremental build  
**** Watch file changes - [https://github.com/sindresorhus/gulp-changed gulp-changed]
**** Watch file changes - [https://github.com/sindresorhus/gulp-changed gulp-changed]
**** File dependency resolving (speed up incremental build) [https://www.npmjs.com/package/gulp-resolver gulp-resolver]
**** File dependency resolving (speed up incremental build) [https://www.npmjs.com/package/gulp-resolve-dependencies gulp-resolve-dependencies]
*** Edit file content
*** Edit file content
*** Support ES6 [https://www.npmjs.com/package/gulp-babel gulp-babel]
*** Support ES6 [https://www.npmjs.com/package/gulp-babel gulp-babel]
Confirmed users
429

edits