-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathjustfile
More file actions
57 lines (43 loc) · 1.05 KB
/
Copy pathjustfile
File metadata and controls
57 lines (43 loc) · 1.05 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
RUN := "cargo run --bin chess-ai --"
# format code
fmt:
cargo fmt --all
# check formatting
fmt-check:
cargo fmt --all -- --check
# lint code
lint:
cargo clippy -- -D warnings
# run tests
test *ARGS:
cargo test {{ARGS}}
# run web dashboard (Rust-native)
web:
@echo "Starting chess AI web dashboard (Rust Axum)..."
{{RUN}} server
# build the project
build:
cargo build --release
# train the surrogate model (Rust-native)
train *ARGS:
{{RUN}} train {{ARGS}}
# run explainability audit (Rust-native)
audit *ARGS:
{{RUN}} audit {{ARGS}}
# play an interactive game (Rust-native)
play:
{{RUN}} play
# download syzygy tablebases (3-5 piece)
syzygy-download dest="~/syzygy":
{{RUN}} syzygy download --dest {{dest}}
# verify syzygy tablebase integration
syzygy-verify path="~/syzygy":
{{RUN}} syzygy verify --syzygy-path {{path}}
# run all checks (fmt, lint, test)
check: fmt-check lint test
# run and verify everything
all: check
@echo "All checks completed!"
# check environment dependencies
doctor:
{{RUN}} doctor