Prepared GUI2 FW lib for publishing on npmjs.org
Change-Id: Icdbdacb24848795b644fc8b76c628fbdb8701e96
diff --git a/web/gui2-topo-lib/BUILD b/web/gui2-topo-lib/BUILD
index 9eae292..eff1dcd 100644
--- a/web/gui2-topo-lib/BUILD
+++ b/web/gui2-topo-lib/BUILD
@@ -110,8 +110,8 @@
#" tail -n 100 ../../$(location onos-gui2-ng-test.log) >&2;" +
" exit 1;" +
" fi;" +
- " cd dist/gui2-topo-lib && " +
- " npm pack >> $$ROOT/$(location gui2-topo-lib.log) 2>&1 &&" +
+ " cp README.md LICENSE dist/gui2-topo-lib && " +
+ " npm pack ./dist/gui2-topo-lib >> $$ROOT/$(location gui2-topo-lib.log) 2>&1 &&" +
" mv gui2-topo-lib-*.tgz $$ROOT/$(location gui2-topo-lib-ver.tgz) &&" +
" touch $$ROOT/$(location gui2-topo-lib.log)", # to get the log always as the 2nd file,
message = "Angular Topo GUI2 build",
@@ -202,6 +202,8 @@
srcs = glob(
[
"projects/gui2-topo-lib/**/*",
+ "README.md",
+ "LICENSE",
],
exclude = [
"projects/gui2-topo-lib/**/*.spec.*", # Don't track tests here