Files
fabula-ultima-html/Justfile

29 lines
601 B
Makefile

# user := "admin"
# host := "chimaera.malzahn.lan"
# www-root := "/home/admin/caddy/public_html/fabula"
user := "root"
host := "goldfish.malzahn.lan"
www-root := "/usr/share/caddy/public_html/fabula"
clean:
rm -rf dist/*
serve:
npm run dev
build:
python3 build.py
npm run build
deploy: build
scp -r dist/* {{ user }}@{{ host }}:{{ www-root }}/
format:
npx prettier --write books/
npx prettier --write fabula-ultima-sheet.js
npx prettier --write webpack.config.js
npx prettier --write fabula-ultima-sheet.css
npx prettier --write fabula-ultima-sheet.html