forked from sporto/hop
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile
48 lines (35 loc) · 926 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
37
38
39
40
41
42
43
44
45
46
47
48
test-up:
cd ./src/Test && elm reactor
basic-up:
cd ./examples/basic && elm reactor
full-up:
cd ./examples/full && elm reactor
flow:
java -jar /usr/local/bin/plantuml.jar -ttxt assets/flow.pu
docs:
elm make --docs=documentation.json
test-lib:
cd ./test && npm test
test-basic:
cd ./examples/basic && elm make Main.elm
test-full:
cd ./examples/full && elm make src/Main.elm && rm index.html
ci-prepare:
node --version
npm --version
npm install -g elm
@echo "============================"
@echo "Installing deps for test"
cd ./test && npm install
cd ./test && elm package install -y
@echo "============================"
@echo "Installing deps for basic app"
cd ./examples/basic && elm package install -y
@echo "============================"
@echo "Installing deps for full app"
cd ./examples/full && elm package install -y
test:
make test-lib
make test-basic
make test-full
.PHONY: docs test