change makefile to deem .gitignore irrelevant

This commit is contained in:
MTGmonkey 2025-04-25 17:15:48 +02:00
parent 501ab991cf
commit 87361faa32
2 changed files with 2 additions and 5 deletions

1
.gitignore vendored
View file

@ -1 +0,0 @@
frontend/elm-stuff

View file

@ -11,17 +11,15 @@ backend:
frontend: frontend-format
cd frontend && elm make src/Main.elm --output=../assets/js/main.js
rm -rf frontend/elm-stuff
frontend-produce: frontend-format
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
rm assets/js/tmp.js
frontend-format:
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