1
0
mirror of https://github.com/yldio/copilot.git synced 2024-11-28 06:00:06 +02:00

make: Adding an install target

This commit is contained in:
Tom Gallacher 2016-10-17 18:00:50 +01:00
parent fe0d8163a4
commit 2a4dad3bf5
3 changed files with 13 additions and 0 deletions

View File

@ -8,3 +8,10 @@ test-cloudapi-graphql:
.PHONY: test .PHONY: test
test: test-cloudapi-graphql test: test-cloudapi-graphql
.PHONY: install-cloudapi-graphql
install-cloudapi-graphql:
$(MAKE) -C cloudapi-graphql install
.PHONY: install
install: install-cloudapi-graphql

View File

@ -5,6 +5,8 @@ machine:
Europe/London Europe/London
test: test:
pre:
- make install
override: override:
- make test - make test

View File

@ -1,3 +1,7 @@
.PHONY: test .PHONY: test
test: test:
./node_modules/.bin/ava ./node_modules/.bin/ava
.PHONY: install
install:
npm install