-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmise.toml
More file actions
39 lines (31 loc) · 1.01 KB
/
mise.toml
File metadata and controls
39 lines (31 loc) · 1.01 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
[tasks.build]
description = "Build supervisor"
run = "cargo build -p coconut-supervisor --target x86_64-unknown-none --release"
[tasks.build-boot]
description = "Build bootloader"
run = "cargo build -p coconut-boot --target x86_64-unknown-uefi --release"
[tasks.build-all]
description = "Build everything"
run = "mise run build && mise run build-boot"
[tasks.run]
description = "Build + boot QEMU"
run = "./scripts/qemu-run.sh"
[tasks.check]
description = "Type-check without linking"
run = """
cargo check -p coconut-supervisor --target x86_64-unknown-none
cargo check -p coconut-boot --target x86_64-unknown-uefi
cargo check -p coconut-shared
"""
[tasks.fmt]
description = "Format code"
run = "cargo fmt"
[tasks.fmt-check]
description = "CI format check"
run = "cargo fmt --check"
[tasks.clean]
description = "Remove build artifacts"
run = "cargo clean"
[tasks.objdump]
description = "Disassemble supervisor binary"
run = "rust-objdump -d --no-show-raw-insn target/x86_64-unknown-none/release/coconut-supervisor | less"