make: Adding an install target
This commit is contained in:
parent
fe0d8163a4
commit
2a4dad3bf5
7
Makefile
7
Makefile
@ -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
|
||||||
|
@ -5,6 +5,8 @@ machine:
|
|||||||
Europe/London
|
Europe/London
|
||||||
|
|
||||||
test:
|
test:
|
||||||
|
pre:
|
||||||
|
- make install
|
||||||
override:
|
override:
|
||||||
- make test
|
- make test
|
||||||
|
|
||||||
|
@ -1,3 +1,7 @@
|
|||||||
.PHONY: test
|
.PHONY: test
|
||||||
test:
|
test:
|
||||||
./node_modules/.bin/ava
|
./node_modules/.bin/ava
|
||||||
|
|
||||||
|
.PHONY: install
|
||||||
|
install:
|
||||||
|
npm install
|
||||||
|
Loading…
Reference in New Issue
Block a user