bimr-engine/Makefile
2026-09-01 15:32:49 +02:00

33 lines
569 B
Makefile

# bimr-engine — test targets.
.PHONY: test test-eval test-cli test-core clippy fmt check build run-sample
test: test-core test-eval test-cli
test-core:
cargo test -p lexer -p parser
test-eval:
cargo test -p eval
test-cli:
cargo test -p cli
clippy:
cargo clippy --all-targets
fmt:
cargo fmt
fmt-check:
cargo fmt --check
check:
cargo fmt --check && cargo clippy --all-targets && cargo test
build:
cargo build
run-sample:
cargo run --quiet --bin bimr-cli -- build samples/bimr/wall.bimr --output /tmp/opencode/wall.ifcx
@cat /tmp/opencode/wall.ifcx