From c4376ecbcb93d4441018c534f1dca83554e6e485 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Se=CC=81rgio=20Ramos?= Date: Thu, 20 Oct 2016 02:14:26 +0100 Subject: [PATCH] bootstrap frontend --- Makefile | 12 ++++++++++-- frontend/Makefile | 7 +++++++ 2 files changed, 17 insertions(+), 2 deletions(-) create mode 100644 frontend/Makefile diff --git a/Makefile b/Makefile index f6671f20..4b77e7a9 100644 --- a/Makefile +++ b/Makefile @@ -6,12 +6,20 @@ check: test-cloudapi-graphql: $(MAKE) -C cloudapi-graphql test +.PHONY: test-frontend +test-frontend: + $(MAKE) -C frontend test + .PHONY: test -test: test-cloudapi-graphql +test: test-cloudapi-graphql test-frontend .PHONY: install-cloudapi-graphql install-cloudapi-graphql: $(MAKE) -C cloudapi-graphql install +.PHONY: install-frontend +install-frontend: + $(MAKE) -C frontend install + .PHONY: install -install: install-cloudapi-graphql +install: install-cloudapi-graphql install-frontend diff --git a/frontend/Makefile b/frontend/Makefile new file mode 100644 index 00000000..00a4df7a --- /dev/null +++ b/frontend/Makefile @@ -0,0 +1,7 @@ +.PHONY: test +test: + npm run test + +.PHONY: install +install: + npm install --quiet --no-spin