-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile.toml
55 lines (51 loc) · 1.21 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
[tasks.build-takobl]
command = "cargo"
args = [
"build",
"--release",
"--manifest-path", "./takobl/Cargo.toml",
"--config", "./takobl/.cargo/config.toml"
]
[tasks.build-takos]
command = "cargo"
args = [
"build",
"--release",
"--target", "./takos/x86_64-takos.json",
"--manifest-path", "./takos/Cargo.toml",
"--config", "./takos/.cargo/config.toml"
]
[tasks.run]
command = "cargo"
args = [
"run",
"--release",
"--target", "./takos/x86_64-takos.json",
"--manifest-path", "./takos/Cargo.toml",
"--config", "./takos/.cargo/config.toml",
"--", "${@}"
]
dependencies = ["build-takobl"]
[tasks.run-debug]
command = "cargo"
args = [
"run",
"--target", "./takos/x86_64-takos.json",
"--manifest-path", "./takos/Cargo.toml",
"--config", "./takos/.cargo/config.toml",
"--", "${@}"
]
dependencies = ["build-takobl"]
[tasks.test]
command = "cargo"
args = [
"test",
"--lib",
"--target", "./takos/x86_64-takos.json",
"--manifest-path", "./takos/Cargo.toml",
"--config", "./takos/.cargo/config.toml"
]
# [tasks.copy-takos-test]
# command = "cp"
# args = ["takos/target/x86_64-takos/debug/takos", "esp/kernel.elf"]
# dependencies = ["build-takos-debug"]