From 70b72120a999ed98cb71940a4334eebe762d2b4a Mon Sep 17 00:00:00 2001 From: Jonathan Samines Date: Fri, 2 Jun 2017 20:17:41 -0600 Subject: [PATCH] Add Makefile to link projects --- Makefile | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 Makefile diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..850c2c3 --- /dev/null +++ b/Makefile @@ -0,0 +1,11 @@ +all: build link + +build: + @echo "Bundling client application with lerna" + @lerna run build + +link: + @echo "Deleting web application current dist" + @rm -rf ../../workspace/process-planner-web/WebContent/page/dist + @echo "Linking client application bundle to webapp" + @cp -r packages/process-simulator-web/dist ../../workspace/process-planner-web/WebContent/page/