set export set quiet set dotenv-load [arg("assets", long="assets")] build assets="false": #!/usr/bin/env bash mkdir -p ./out rm -rf ./out/* cargo run flags="" if [ "$assets" == "false" ]; then flags="$flags--exclude=assets/" fi rsync -r ./public ./out $flags if [ -n "$OUTPUT" ]; then rsync -r ./out/ $OUTPUT fi test: cargo test format: cargo fix --allow-dirty --allow-staged cargo fmt -- --emit=files