Add cargo expand task
This commit is contained in:
parent
f07f130132
commit
7604f7c166
4
Justfile
4
Justfile
|
@ -42,3 +42,7 @@ gdb:
|
|||
nm:
|
||||
# Build and print all symbols in the kernel
|
||||
cargo make nm
|
||||
|
||||
expand:
|
||||
# Run `cargo expand` on modules
|
||||
cargo make expand -- nucleus
|
||||
|
|
|
@ -7,6 +7,10 @@
|
|||
env = { "TARGET_FEATURES" = "" }
|
||||
args = ["build", "--target=${TARGET_JSON}", "--release", "--features=${TARGET_FEATURES}"]
|
||||
|
||||
[tasks.expand]
|
||||
env = { "TARGET_FEATURES" = "" }
|
||||
args = ["expand", "--target=${TARGET_JSON}", "--release", "--features=${TARGET_FEATURES}"]
|
||||
|
||||
[tasks.test]
|
||||
env = { "TARGET_FEATURES" = "${QEMU_FEATURES}" }
|
||||
args = ["test", "--target=${TARGET_JSON}", "--features=${TARGET_FEATURES}"]
|
||||
|
|
Loading…
Reference in New Issue