forked from mbucknell/WQP_UI
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile
33 lines (28 loc) · 782 Bytes
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
#
# Entrypoint Makefile for Water Quality Portal
#
default: build
help:
@echo 'Water Quality Portal Makefile targets:'
@echo ' build (default) - Produce the build artifact for each project'
@echo ' devenv - Create a local development environment'
@echo ' test - Run all project tests'
@echo ' clean - Remove all build artifacts'
@echo ' cleanenv - Remove all environment artifacts'
.PHONY: help env test clean cleanenv coverage
MAKEPID:= $(shell echo $$PPID)
devenv:
cd assets && make devenv
cd server && make devenv
test:
cd assets && make test
cd server && make test
clean:
cd assets && make clean
cd server && make clean
cleanenv:
cd assets && make cleanenv
cd server && make cleanenv
build: devenv
cd assets && make build
cd server && make build