Files
HEDZReloaded/justfile
extrawurst f993c6f7de code sharing for steam setup
+ strip server a bit more
2025-07-05 17:53:54 +01:00

29 lines
833 B
Makefile

# map trenchbroom game folder to here:
# see https://trenchbroom.github.io/manual/latest/#game_configuration_files
tb_setup_mac:
mkdir -p "$HOME/Library/Application Support/TrenchBroom/games/hedz" | true
ln -s $(pwd)/trenchbroom/hedz/hedz.fgd "$HOME/Library/Application Support/TrenchBroom/games/hedz/hedz.fgd" | true
ln -s $(pwd)/trenchbroom/hedz/GameConfig.cfg "$HOME/Library/Application Support/TrenchBroom/games/hedz/GameConfig.cfg" | true
run:
RUST_BACKTRACE=1 cargo r --bin hedz_reloaded
server:
RUST_BACKTRACE=1 cargo r --bin server
dbg:
RUST_BACKTRACE=1 cargo r --bin hedz_reloaded --features dbg
dbg-server:
RUST_BACKTRACE=1 cargo r --bin server --features dbg
sort:
cargo sort
check:
cargo sort --check --workspace
cargo fmt --check
cargo b
cargo clippy
cargo test