7 Commits

Author SHA1 Message Date
Steven Burrows
a37e32f488 Gui: bugfix Broswersync error in buck build
Change-Id: I83f73eb5baf283334086c40d6ec4e82829396d70
2017-08-07 22:36:36 +01: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
dc165621d4 GUI: Better error messages for minify task in gulp
Change-Id: I25f287ae057ea8f164c5ec7a3f036f3e92dd8f3c
2017-07-20 14:40:27 +01:00
Steven Burrows
96ee21ebab Bug Fix: Reverted minifying third party libs
Bug Fix: Minification revealed 'non-safe' bundle dependancy in the application view javascript

Upgraded Chart(.min).js to v2.6.0 to fix a known bug in v2.2.1

ONOS-6803

Change-Id: I02e130611dcff26cef08bbb6885e91b348e27f69
2017-07-11 21:54:05 +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