-
Notifications
You must be signed in to change notification settings - Fork 3
/
scripts.yaml
32 lines (26 loc) · 1.14 KB
/
scripts.yaml
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
scripts:
counter-review:
- git checkout counter/src
# - elm-format --yes counter/src
- npx elm-review --config preview counter/src --debug --fix # -fix-limit=5
# - npx elm-review --config /Users/carlson/dev/elm-work/lamdera/review/counter/review
# /Users/carlson/dev/elm-work/lamdera/review/counter/src
# --debug --fix-all
counter-clean:
- git checkout counter/src
- elm-format --yes counter/src
review: npx elm-review
review-debug: npx elm-review --ignore-dirs vendor,src/Evergreen/ --fix-all --rules NoDebug.Log
cloc: cloc --by-file --exclude-dir=Evergreen,Pages src/
cgraph: npx elm-review --template miniBill/elm-review-call-graph/example --extract --report=json | jq ".extracts.ExtractCallGraph" > call-graph.json
install:
- git co counter/
- cp -r counter-original/src/. counter/src/
- cp vendor-secret/Env.elm counter/src∫
- npx elm-review --config preview counter/src --debug --fix-all
uninstall: cp -r counter-original/src/. counter/src/
commit:
- cp -r counter-original/src/. counter/src/
- git co vendor/magic-link/Config.elm
- git ci -a
live: lam live --port=8007