1
0
mirror of https://github.com/yldio/copilot.git synced 2024-12-29 05:10:05 +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
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
test:
pre:
- make install
override:
- make test

View File

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