-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMakefile.toml
66 lines (51 loc) · 1.13 KB
/
Makefile.toml
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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
[env]
CARGO_MAKE_EXTEND_WORKSPACE_MAKEFILE = true
[config]
skip_core_tasks = true
default_to_workspace = false
[tasks.run]
dependencies = [
"build-kernel",
"build-bootloader",
"run-qemu",
]
[tasks.run-qemu]
command = "qemu-system-x86_64"
args = ["-drive", "format=raw,file=target/x86_64-unknown-none/debug/boot-uefi-cidi-os.img", "-bios", "tools/OVMF-pure-efi.fd"]
[tasks.build]
dependencies = [
"build-kernel",
"build-bootloader",
]
[tasks.build-kernel]
command = "cargo"
args = ["build"]
[tasks.build-bootloader]
command = "cargo"
args = ["run", "-p", "boot"]
#stuff for future github actions satisfaction
[tasks.fmt]
command = "cargo"
args = ["fmt"]
[tasks.check]
command = "cargo"
args = ["check"]
#will not work yet, as this is no std we must impliment this by scratch
[tasks.test]
command = "cargo"
args = ["test"]
[tasks.clippy]
command = "cargo"
args = ["clippy"]
#test suite
[tasks.test-suite]
dependencies = [
"test",
]
[tasks.actions]
dependencies = [
{ name = "fmt", fork = true },
{ name = "check", fork = true },
{ name = "clippy", fork = true },
{ name = "test-suite", fork = true },
]