-
Notifications
You must be signed in to change notification settings - Fork 16
Expand file tree
/
Copy pathMakefile
More file actions
25 lines (19 loc) · 845 Bytes
/
Makefile
File metadata and controls
25 lines (19 loc) · 845 Bytes
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
default: elm typescript
elm:
/usr/local/bin/elm make lib/StateMachine.elm --output=dist/elm/StateMachine.js --optimize
node_modules/uglify-js/bin/uglifyjs dist/elm/StateMachine.js --compress 'pure_funcs="F2,F3,F4,F5,F6,F7,F8,F9,A2,A3,A4,A5,A6,A7,A8,A9",pure_getters,keep_fargs=false,unsafe_comps,unsafe' | node_modules/uglify-js/bin/uglifyjs --mangle --output=dist/elm/StateMachine.js
elm-test
elm-debug:
/usr/local/bin/elm make lib/StateMachine.elm --output=dist/elm/StateMachine.js
elm-test
typescript:
npm install
# for now typescript gets built with atom-typescript.
graph:
# make graph (svg) of architecture
node_modules/madge/bin/cli.js --image graph.svg ./dist
test:
elm-test
apm test
count:
rg --files | grep -v \.js$ | grep -v dist | grep -v \.png$ | grep -v \.gif$ | grep -v package-lock.json | xargs wc -l | sort -n