trictrac/justfile

24 lines
752 B
Makefile
Raw Normal View History

2024-10-01 17:48:10 +02:00
#!/usr/bin/env -S just --justfile
# ^ A shebang isn't required, but allows a justfile to be executed
# like a script, with `./justfile test`, for example.
doc:
cargo doc --no-deps
2022-12-09 21:19:18 +01:00
shell:
2022-12-14 13:58:44 +01:00
devenv shell
2025-01-12 16:38:43 +01:00
runcli:
RUST_LOG=info cargo run --bin=client_cli
runclibots:
2025-03-18 21:19:57 +01:00
RUST_LOG=info cargo run --bin=client_cli -- --bot dummy,ai
2025-02-08 08:52:01 +01:00
profile:
echo '1' | sudo tee /proc/sys/kernel/perf_event_paranoid
cargo build --profile profiling
samply record ./target/profiling/client_cli --bot dummy,dummy
2025-02-08 13:28:42 +01:00
pythonlib:
maturin build -m store/Cargo.toml --release
pip install --no-deps --force-reinstall --prefix .devenv/state/venv target/wheels/*.whl
2025-03-02 15:20:24 +01:00
trainbot:
2025-05-30 20:32:00 +02:00
#python ./store/python/trainModel.py
2025-06-22 21:25:45 +02:00
# cargo run --bin=train_dqn
cargo run --bin=train_burn_rl