Split crate into shared logic library and binary crate (#52) (#53)

This commit is contained in:
extrawurst
2025-06-29 12:45:25 +02:00
committed by GitHub
parent 5d4c7630ef
commit 7996d632f7
65 changed files with 497 additions and 82 deletions

View File

@@ -5,10 +5,20 @@ tb_setup_mac:
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
dbg:
RUST_BACKTRACE=1 cargo r --features 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 test