-
-
Notifications
You must be signed in to change notification settings - Fork 9
Expand file tree
/
Copy pathjustfile
More file actions
21 lines (18 loc) · 558 Bytes
/
justfile
File metadata and controls
21 lines (18 loc) · 558 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
hello:
printf '#include <stdio.h>\nvoid hello()\n{\n printf("hello world\\n");\n}\nint main()\n{\n hello();\n return 0;\n}' > hello.c && gcc -g hello.c -o hello
update-screenshots: hello build
vhs docs/vhs/main.tape
vhs docs/vhs/hexdump.tape
vhs docs/vhs/readme.tape
run: hello
RUST_LOG=trace cargo r --release -- --cmds test-sources/readme.source --log-path heretek.log
# Matches .github
build:
cargo build --release --bins
test: build
cargo test --release
bench:
cargo bench
lint:
cargo fmt
cargo clippy