aboutsummaryrefslogtreecommitdiffhomepage
path: root/ci/Makefile
blob: 9f18c6099b82ce719f5aabddfd2a637ae9763e69 (plain) (blame)
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
all: build build-examples check-fmt check-clippy check-tests check-examples run-examples

build:
	cargo build

build-examples:
	cargo build --examples

check-fmt:
	cargo fmt --check

check-clippy:
	cargo clippy -- -Dwarnings -Aclippy::new_without_default

check-tests:
	cargo test

check-examples:
	cargo test --examples

run-examples:
	cargo run --example fib
	cargo run --example add
	cargo run --example tiny_vm
	cargo run --example tiny_vm jit