forked from usgs/waterdataui
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile
33 lines (26 loc) · 942 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
#
# Entrypoint Makefile for Water Data For The Nation
#
default: build
help:
@echo 'Water Data For The Nation Makefile targets:'
@echo ' build (default) - Produce the build artifact for each project'
@echo ' env - Create a local development environment'
@echo ' watch - Run local development servers'
@echo ' test - Run all project tests'
@echo ' clean - Remove all build artifacts'
@echo ' cleanenv - Remove all environment artifacts'
include assets/Makefile
include wdfn-server/Makefile
.PHONY: help env test clean cleanenv coverage
MAKEPID:= $(shell echo $$PPID)
env: env-assets env-wdfn
# removing testing of assets until refactor is complete. test: test-assets test-wdfn
test: test-assets test-wdfn
clean: clean-assets clean-graph-server clean-wdfn
cleanenv: cleanenv-assets cleanenv-wdfn
build: env build-assets build-wdfn
watch:
(make watch-wdfn & \
make watch-assets & \
wait) || kill -TERM $(MAKEPID)