From 2a4dad3bf5cad6fcaa96fc46c0df21a101252eec Mon Sep 17 00:00:00 2001 From: Tom Gallacher Date: Mon, 17 Oct 2016 18:00:50 +0100 Subject: [PATCH] make: Adding an install target --- Makefile | 7 +++++++ circle.yml | 2 ++ cloudapi-graphql/Makefile | 4 ++++ 3 files changed, 13 insertions(+) diff --git a/Makefile b/Makefile index 26172d46..f6671f20 100644 --- a/Makefile +++ b/Makefile @@ -8,3 +8,10 @@ test-cloudapi-graphql: .PHONY: test test: test-cloudapi-graphql + +.PHONY: install-cloudapi-graphql +install-cloudapi-graphql: + $(MAKE) -C cloudapi-graphql install + +.PHONY: install +install: install-cloudapi-graphql diff --git a/circle.yml b/circle.yml index 23bc9980..16fdcfe3 100644 --- a/circle.yml +++ b/circle.yml @@ -5,6 +5,8 @@ machine: Europe/London test: + pre: + - make install override: - make test diff --git a/cloudapi-graphql/Makefile b/cloudapi-graphql/Makefile index ac24a173..4290b7a3 100644 --- a/cloudapi-graphql/Makefile +++ b/cloudapi-graphql/Makefile @@ -1,3 +1,7 @@ .PHONY: test test: ./node_modules/.bin/ava + +.PHONY: install +install: + npm install