26 lines
782 B
Makefile
26 lines
782 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
|
|
|
|
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
|
|
cargo clippy
|