Crate unification (#88)
* move client/server/config into shared * move platforms into shared * move head drops into shared * move tb_entities to shared * reduce server to just a call into shared * get solo play working * fix server opening window * fix fmt * extracted a few more modules from client * near completely migrated client * fixed duplicate CharacterInputEnabled definition * simplify a few things related to builds * more simplifications * fix warnings/check * ci update * address comments * try fixing macos steam build * address comments * address comments * CI tweaks with default client feature --------- Co-authored-by: PROMETHIA-27 <electriccobras@gmail.com>
This commit is contained in:
16
justfile
16
justfile
@@ -5,28 +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
|
||||
|
||||
client_args := "--bin hedz_reloaded --no-default-features --features shared/client"
|
||||
server_args := "--bin server --no-default-features --features shared/server"
|
||||
client_args := "--bin hedz_reloaded"
|
||||
server_args := "--bin hedz_reloaded_server --no-default-features"
|
||||
|
||||
run *args:
|
||||
cargo b {{server_args}}
|
||||
RUST_BACKTRACE=1 cargo r {{client_args}} -- {{args}}
|
||||
|
||||
client *args:
|
||||
RUST_BACKTRACE=1 cargo r {{client_args}} -- {{args}}
|
||||
|
||||
server:
|
||||
RUST_BACKTRACE=1 cargo r {{server_args}}
|
||||
|
||||
dbg *args:
|
||||
cargo b {{server_args}},dbg
|
||||
RUST_BACKTRACE=1 cargo r {{client_args}},dbg -- {{args}}
|
||||
|
||||
dbg-client *args:
|
||||
RUST_BACKTRACE=1 cargo r {{client_args}},dbg -- {{args}}
|
||||
RUST_BACKTRACE=1 cargo r {{client_args}} --features dbg -- {{args}}
|
||||
|
||||
dbg-server:
|
||||
RUST_BACKTRACE=1 cargo r {{server_args}},dbg
|
||||
RUST_BACKTRACE=1 cargo r {{server_args}} --features dbg
|
||||
|
||||
sort:
|
||||
cargo sort --check --workspace
|
||||
|
||||
Reference in New Issue
Block a user