mirror of
https://github.com/RGBCube/uutils-coreutils
synced 2025-07-27 19:17:43 +00:00
maint/build ~ add 'release' and 'debug' mode notations to tasks and help
This commit is contained in:
parent
d752d9880b
commit
78d4bb42e9
1 changed files with 18 additions and 6 deletions
|
@ -84,24 +84,33 @@ set_env CARGO_MAKE_TASK_BUILD_UTILS_ARGS "${args}"
|
||||||
### tasks
|
### tasks
|
||||||
|
|
||||||
[tasks.default]
|
[tasks.default]
|
||||||
description = "## *DEFAULT* Build and test project"
|
description = "## *DEFAULT* Build (debug-mode) and test project"
|
||||||
category = "[project]"
|
category = "[project]"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"action-build-debug",
|
"action-build-debug",
|
||||||
"test-terse",
|
"test-terse",
|
||||||
]
|
]
|
||||||
|
|
||||||
|
##
|
||||||
|
|
||||||
[tasks.build]
|
[tasks.build]
|
||||||
description = "## Build project"
|
description = "## Build (release-mode) project"
|
||||||
category = "[project]"
|
category = "[project]"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"core::pre-build",
|
"core::pre-build",
|
||||||
"action-build",
|
"action-build-release",
|
||||||
"core::post-build",
|
"core::post-build",
|
||||||
]
|
]
|
||||||
|
|
||||||
|
[tasks.build-debug]
|
||||||
|
description = "## Build (debug-mode) project"
|
||||||
|
category = "[project]"
|
||||||
|
dependencies = [
|
||||||
|
"action-build-debug",
|
||||||
|
]
|
||||||
|
|
||||||
[tasks.build-features]
|
[tasks.build-features]
|
||||||
description = "## Build (with features); usage: `cargo make (build-features | features) FEATURE...`"
|
description = "## Build (with features; release-mode) project; usage: `cargo make (build-features | features) FEATURE...`"
|
||||||
category = "[project]"
|
category = "[project]"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"core::pre-build",
|
"core::pre-build",
|
||||||
|
@ -109,6 +118,9 @@ dependencies = [
|
||||||
"core::post-build",
|
"core::post-build",
|
||||||
]
|
]
|
||||||
|
|
||||||
|
[tasks.debug]
|
||||||
|
alias = "build-debug"
|
||||||
|
|
||||||
[tasks.features]
|
[tasks.features]
|
||||||
alias = "build-features"
|
alias = "build-features"
|
||||||
|
|
||||||
|
@ -173,7 +185,7 @@ args = ["uninstall"]
|
||||||
alias = "utils"
|
alias = "utils"
|
||||||
|
|
||||||
[tasks.utils]
|
[tasks.utils]
|
||||||
description = "## Build (individual) utilities; usage: `cargo make (util | utils | uutil | uutils) [UTIL_NAME...]`"
|
description = "## Build (individual; release-mode) utilities; usage: `cargo make (util | utils | uutil | uutils) [UTIL_NAME...]`"
|
||||||
category = "[project]"
|
category = "[project]"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"core::pre-build",
|
"core::pre-build",
|
||||||
|
@ -190,7 +202,7 @@ alias = "utils"
|
||||||
|
|
||||||
### actions
|
### actions
|
||||||
|
|
||||||
[tasks.action-build]
|
[tasks.action-build-release]
|
||||||
description = "`cargo build --release`"
|
description = "`cargo build --release`"
|
||||||
command = "cargo"
|
command = "cargo"
|
||||||
args = ["build", "--release", "@@split(CARGO_MAKE_CARGO_BUILD_TEST_FLAGS, )" ]
|
args = ["build", "--release", "@@split(CARGO_MAKE_CARGO_BUILD_TEST_FLAGS, )" ]
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue