change makefile to deem .gitignore irrelevant
This commit is contained in:
parent
501ab991cf
commit
87361faa32
2 changed files with 2 additions and 5 deletions
1
.gitignore
vendored
1
.gitignore
vendored
|
@ -1 +0,0 @@
|
||||||
frontend/elm-stuff
|
|
6
Makefile
6
Makefile
|
@ -11,17 +11,15 @@ backend:
|
||||||
|
|
||||||
frontend: frontend-format
|
frontend: frontend-format
|
||||||
cd frontend && elm make src/Main.elm --output=../assets/js/main.js
|
cd frontend && elm make src/Main.elm --output=../assets/js/main.js
|
||||||
|
rm -rf frontend/elm-stuff
|
||||||
|
|
||||||
frontend-produce: frontend-format
|
frontend-produce: frontend-format
|
||||||
cd frontend && elm make src/Main.elm --optimize --output=../assets/js/tmp.js
|
cd frontend && elm make src/Main.elm --optimize --output=../assets/js/tmp.js
|
||||||
|
rm -rf frontend/elm-stuff
|
||||||
esbuild assets/js/tmp.js --minify --target=es5 --outfile=assets/js/main.js
|
esbuild assets/js/tmp.js --minify --target=es5 --outfile=assets/js/main.js
|
||||||
rm assets/js/tmp.js
|
rm assets/js/tmp.js
|
||||||
|
|
||||||
frontend-format:
|
frontend-format:
|
||||||
elm-format frontend/src/Main.elm --yes
|
elm-format frontend/src/Main.elm --yes
|
||||||
|
|
||||||
clean:
|
|
||||||
touch assets/js/main.js
|
|
||||||
rm assets/js/main.js
|
|
||||||
|
|
||||||
.PHONY: all produce run start backend frontend frontend-produce frontend-format clean
|
.PHONY: all produce run start backend frontend frontend-produce frontend-format clean
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue