BUCK GUI: Excluded generated javascript files from genrule
Removed the NPM Lock file that generated.
Change-Id: Ia2d16f28a3a11056f8eaed2805684020b9d2c4eb
diff --git a/web/gui/BUCK b/web/gui/BUCK
index e15ce91..cacd7b7 100644
--- a/web/gui/BUCK
+++ b/web/gui/BUCK
@@ -46,11 +46,10 @@
genrule(
name = 'onos-tools-gui',
- srcs = ['src/main/webapp'],
+ srcs = glob(['src/main/webapp/**/*.js'], excludes = ['src/main/webapp/dist/*.js']),
bash = '$(location :onos-tools-gui-exe) '
+ '$(location //web/gui:node-release-v8.1.2) '
+ '$(location //web/gui:node-bin-v8.1.2) > $OUT',
- cmd_exe = '',
out = 'onos-tools-gui.log',
visibility = [ 'PUBLIC' ],
)