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
|
||||
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
|
||||
|
||||
test:
|
||||
pre:
|
||||
- make install
|
||||
override:
|
||||
- make test
|
||||
|
||||
|
@ -1,3 +1,7 @@
|
||||
.PHONY: test
|
||||
test:
|
||||
./node_modules/.bin/ava
|
||||
|
||||
.PHONY: install
|
||||
install:
|
||||
npm install
|
||||
|
Loading…
Reference in New Issue
Block a user