-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
32 lines (23 loc) · 709 Bytes
/
Copy pathMakefile
File metadata and controls
32 lines (23 loc) · 709 Bytes
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
# FLAUDE / QED-1 developer entry points.
WASM_OUT := web/pkg
.PHONY: all web run test lint bench clean
all: lint test web
## Build the browser engine (the 1.3 MB "model")
web:
wasm-pack build crates/flaude-wasm --target web --release \
--out-dir ../../$(WASM_OUT) --out-name qed-inference
rm -f $(WASM_OUT)/.gitignore
## Run the native server (chat UI + OpenAI-compatible API on :8080)
run: web
cargo run --release
test:
cargo test --workspace
lint:
cargo fmt --all -- --check
cargo clippy --workspace --all-targets -- -D warnings
## Full BIG-bench arithmetic run against the WASM artifact (writes web/bench/)
bench: web
node scripts/run-bigbench.mjs
clean:
cargo clean
rm -rf $(WASM_OUT)