2022-04-24 22:32:55 +02:00
|
|
|
babel: extract update compile
|
|
|
|
|
2023-03-27 23:39:40 +02:00
|
|
|
publish: rmpublic ruff esbuild build upload
|
2022-04-24 16:57:44 +02:00
|
|
|
|
|
|
|
|
|
|
|
extract:
|
|
|
|
pybabel extract -F mapping.ini -o translations/messages.pot templates/*
|
|
|
|
|
|
|
|
update:
|
2024-02-03 21:33:29 +01:00
|
|
|
pybabel update -i translations/messages.pot -d translations --ignore-pot-creation-date
|
2022-04-24 16:57:44 +02:00
|
|
|
|
|
|
|
compile:
|
|
|
|
pybabel compile -d translations --statistics
|
|
|
|
|
2022-04-24 22:32:55 +02:00
|
|
|
upload:
|
2022-04-26 17:31:08 +02:00
|
|
|
rsync -aPz --delete --delete-after public lw1.at:/var/www/lw1.at/
|
2022-04-24 22:32:55 +02:00
|
|
|
|
|
|
|
esbuild:
|
|
|
|
npm run build
|
|
|
|
|
|
|
|
build:
|
2022-08-17 19:09:56 +02:00
|
|
|
/home/lukas/.virtualenvs/lw1/bin/python -m lw1.main
|
2022-04-24 22:32:55 +02:00
|
|
|
|
2023-01-02 20:57:47 +01:00
|
|
|
watch:
|
|
|
|
/home/lukas/.virtualenvs/lw1/bin/python -m lw1.watch
|
|
|
|
|
2022-04-24 22:32:55 +02:00
|
|
|
rmpublic:
|
|
|
|
rm -r public/
|
|
|
|
mkdir public/
|
2023-03-27 23:39:40 +02:00
|
|
|
|
|
|
|
ruff:
|
|
|
|
ruff check .
|