1
0
Fork 0
mirror of https://github.com/Findus23/lw1.at.git synced 2024-09-16 12:13:44 +02:00
lw1.at/Makefile

32 lines
599 B
Makefile

babel: extract update compile
publish: rmpublic ruff esbuild build upload
extract:
pybabel extract -F mapping.ini -o translations/messages.pot templates/*
update:
pybabel update -i translations/messages.pot -d translations --ignore-pot-creation-date
compile:
pybabel compile -d translations --statistics
upload:
rsync -aPz --delete --delete-after public lw1.at:/var/www/lw1.at/
esbuild:
npm run build
build:
/home/lukas/.virtualenvs/lw1/bin/python -m lw1.main
watch:
/home/lukas/.virtualenvs/lw1/bin/python -m lw1.watch
rmpublic:
rm -r public/
mkdir public/
ruff:
ruff check .