forked from hypothesis/client
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile
33 lines (25 loc) · 580 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
.PHONY: default
default: all
.PHONY: all
all: build/manifest.json
## Remove build artifacts
.PHONY: clean
clean:
rm -f node_modules/.uptodate
rm -rf build
## Run test suite
.PHONY: test
test: node_modules/.uptodate
yarn test
.PHONY: lint
lint: node_modules/.uptodate
yarn run lint
.PHONY: docs
docs:
cd docs && make livehtml
################################################################################
build/manifest.json: node_modules/.uptodate
yarn run build
node_modules/.uptodate: package.json yarn.lock
yarn run deps 2>/dev/null || yarn install
@touch $@