-
Notifications
You must be signed in to change notification settings - Fork 14
/
Makefile
36 lines (26 loc) · 809 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
34
35
36
.PHONY: npm-install build test watch release-major release-minor release-patch run-examples verify-own-docs
npm-install:
npm install
build: npm-install
elm make src/VerifyExamples.elm --output bin/elm.js --optimize
verify-own-docs: build
./bin/cli.js
test: verify-own-docs
./run-tests.sh
run-examples: build
cd example && ../bin/cli.js --run-tests
watch:
watchexec \
--clear \
--restart \
--watch src \
--watch bin \
--watch example/src \
--watch elm.json \
"make test"
release-major: test
npx xyz --repo [email protected]:stoeffel/elm-verify-examples.git --increment major
release-minor: test
npx xyz --repo [email protected]:stoeffel/elm-verify-examples.git --increment minor
release-patch: test
npx xyz --repo [email protected]:stoeffel/elm-verify-examples.git --increment patch