2024-02-14 23:36:16 +01:00
|
|
|
build:
|
2024-05-04 13:48:51 +02:00
|
|
|
cargo run --release
|
2024-02-14 23:36:16 +01:00
|
|
|
|
2024-05-04 13:48:51 +02:00
|
|
|
watch:
|
|
|
|
cargo run --release -- watch
|
2024-02-14 23:36:16 +01:00
|
|
|
|
2024-04-13 15:26:52 +02:00
|
|
|
serve:
|
2024-09-21 23:38:48 +02:00
|
|
|
echo "http://[::1]:1234/"
|
|
|
|
python -m http.server 1234 -b ::1 -d ./dist
|
2024-05-04 13:48:51 +02:00
|
|
|
|
|
|
|
deploy: build
|
|
|
|
rsync -Pavzq ./dist/ kamoshi:/var/www/kamoshi.org --delete
|