elo-worldle/Makefile
2023-03-26 23:33:41 -04:00

23 lines
394 B
Makefile

.PHONY: build serve clean scp
build: chess.js main.js Makefile
serve: build
python -m http.server
upload: build
scp *.js *.html root@pyrope.net:/var/www/mysite/elo-worldle/
# i'm so generous for putting random crap for you to see :]
full-upload: build
scp * root@pyrope.net:/var/www/mysite/elo-worldle/
clean:
rm *.js
# main.js: main.ts
# tsc main.ts
%.js: %.ts tsconfig.json
tsc