Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

RFC: use node/gulp as build system #31

Closed
wants to merge 0 commits into from
Closed

Conversation

ianchi
Copy link
Collaborator

@ianchi ianchi commented Dec 29, 2016

Hi @jow-
This a RFC to use Node.js/Gulp as the build system for the web frontend.
It includes changes on dependencies and Makefiles, and only a stub for the gulpfile.
Not much of the potential is yet used, until we agree on a direction, as some more changes are needed.
The only actual functionality added so far is a web server for development with a proxy that forwards RPC's to the router. Useful for quick testing.
Many more functionalities could easily be added to this schema: linting / concatenation + minification of js / add prefixes to css / use templateCache to develop directives in Html and later convert to js (much easier to edit) ....

I think that it would be best to slightly change the folder structure. For this RFC I only solved it with a symlink, but a more permanent definition is needed before merging this.
With this proposed structure, Gulp can be manually used first on the "src" folders while developing, and later again by the LEDE make process to generate the final package.

I'll be sending a separate PR to the Packages repo to update the Nodejs version to the current LTS one.

Signed-off-by: Adrian Panella ianchi74@outlook.com

@ghost
Copy link

ghost commented Jan 7, 2017

I think gulp is a great idea. @ianchi seems you are no longer supporting this argument, can I ask why?

@ianchi
Copy link
Collaborator Author

ianchi commented Jan 7, 2017

Sorry, I forgot to leave a notice before closing the PR.
With some modifications this has already been merged, and I'll finish the build process soon.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant