Fixed up justfile to not require weird things in index.html
This commit is contained in:
parent
5b1009f4eb
commit
c6f5df7b31
2 changed files with 5 additions and 4 deletions
1
.gitignore
vendored
1
.gitignore
vendored
|
@ -5,3 +5,4 @@ repl-temp-*
|
|||
|
||||
leaderboard.js
|
||||
leaderboard.min.js
|
||||
leaderboard.opt.js
|
6
justfile
6
justfile
|
@ -12,8 +12,8 @@ debug:
|
|||
elm-live src/Leaderboard.elm --open -- --debug --output=leaderboard.js
|
||||
|
||||
build_release:
|
||||
elm make src/Leaderboard.elm --optimize --output=leaderboard.js
|
||||
uglifyjs leaderboard.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" | uglifyjs --mangle --output=leaderboard.min.js
|
||||
elm make src/Leaderboard.elm --optimize --output=leaderboard.opt.js
|
||||
uglifyjs leaderboard.opt.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" | uglifyjs --mangle --output=leaderboard.js
|
||||
|
||||
deploy: build_release
|
||||
rsync index.html leaderboard.min.js anthonycicchetti.com:/var/www/crossword.anthonycicchetti.com/public
|
||||
rsync index.html leaderboard.js anthonycicchetti.com:/var/www/crossword.anthonycicchetti.com/public
|
Loading…
Add table
Reference in a new issue