From 8f31496c29972b0ae676a5c0fb754cca3761b1e9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nikola=20Forr=C3=B3?= Date: Wed, 25 Apr 2018 11:28:07 +0200 Subject: [PATCH] Add Makefile to frontend --- frontend/Makefile | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 frontend/Makefile diff --git a/frontend/Makefile b/frontend/Makefile new file mode 100644 index 0000000..91b3e10 --- /dev/null +++ b/frontend/Makefile @@ -0,0 +1,9 @@ +DESTINATION = /srv/http/quotes/quotes +BUILD_FLAGS = --prod --build-optimizer + +.PHONY: all quotes + +all: quotes + +quotes: + ng build $(BUILD_FLAGS) --output-path $(DESTINATION)