46 lines
721 B
Makefile
46 lines
721 B
Makefile
_default:
|
|
@just --unsorted --list
|
|
|
|
# Check project
|
|
check:
|
|
bc-check
|
|
|
|
# Format project
|
|
fmt:
|
|
bc-fmt
|
|
|
|
# Perform automated fixes
|
|
fix:
|
|
bc-fix
|
|
|
|
# Launch the editor
|
|
ed:
|
|
godot godot/project.godot
|
|
|
|
# Launch the game
|
|
run:
|
|
cargo build
|
|
godot --path godot
|
|
|
|
# mdbook serve
|
|
serve-docs:
|
|
mdbook serve docs
|
|
|
|
# Regenerate docs figures on changes
|
|
watch-figures:
|
|
watchexec --exts=py --restart --watch docs python3 docs/figures.py
|
|
|
|
# Download audio from youtube
|
|
rip-youtube-audio URL:
|
|
yt-dlp --audio-quality 0 --extract-audio {{ URL }}
|
|
|
|
# Listen to the radio
|
|
radio:
|
|
mpv --shuffle audio/vehicle_radio
|
|
|
|
# Run assets pipeline
|
|
process-assets:
|
|
#!/usr/bin/env sh
|
|
cd godot/assets
|
|
sh pipeline.sh
|