8 Commits

Author SHA1 Message Date
Steven Burrows
ad0182073e ONOS-7200: Fixed GUI build times
Improved the selectiveness of the source file within the rule
Stopped the bash script from reinstalling NPM depenancies - This was likely left in by mistake when
there were NPM issues when this build step was first introduced

Change-Id: I5364fc8818e37659cdcf11bd19750f0ba1b85a10
2017-11-02 16:51:07 +00:00
Yuta HIGUCHI
cb97b3188f Attempt to fix Jenkins issue
Change-Id: Ife84a228b36c51bfabc2f806f15dc05bdeed86b6
2017-09-13 22:09:34 +00:00
Steven Burrows
0f26ac8fa2 BUCK GUI: Excluded generated javascript files from genrule
Removed the NPM Lock file that generated.

Change-Id: Ia2d16f28a3a11056f8eaed2805684020b9d2c4eb
2017-08-10 17:04:44 +00:00
Steven Burrows
1c2a9685de GUI: Added ESLint to gulp tasks. ONOS-6521
Commented out gulp tasks making this change uneffective
Fixed an error in the build script

Change-Id: I4f4f9762aa1a66304aa74b3ab208095b9c1d4515
2017-08-07 18:12:46 +00:00
Simon Hunt
5c3ed73c5a Revert "GUI: Added ESLint to gulp tasks GUI: Linted files Fixed an error in the build script"
This reverts commit 46c5f1087d76d93497a1e8e5593564991ccb6682.

Change-Id: I1464fdd1df075e93f885e3c1fbd02f0cc563fd4f
2017-07-20 19:08:07 +00:00
Steven Burrows
46c5f1087d GUI: Added ESLint to gulp tasks
GUI: Linted files
Fixed an error in the build script

JIRA-TASKS: ONOS-6522, ONOS-6521

Change-Id: Ie72abfe6cbe21c8946f219be6193344b67ec6dd1
2017-07-20 16:25:52 +00:00
Steven Burrows
3defbb3e68 GUI: use a local installation of gulp
Change-Id: I5ef201aaf157e630610492e92d910c582ade6513
2017-07-12 21:47:02 +00:00
Steven Burrows
a145e10376 ONOS-628 - Download and extract node binaries for the GUI build step
- Added gulp build task the:
	- Bundles Vendor JS files
	- Bundles ONOS JS Files
	- Bundles ONOS CSS Files
	- Added SourceMaps to JS bundles - Helps with debugging during development
- Added Bundles to index.js and removed old references
- Git Ignored any generated files
- Ensured the build step is able to build without a local copy of node installed
- Added BUCK genrules (provided by Viswa)
- Added BUCK Dependency to GUI
- Buck Rule to run when src changes
- Node/NPM downloaded using BUCK remote_file

Change-Id: Ia6ca3b952ff801850ade7469c23aac76c8520400
2017-07-11 01:39:46 +00:00