diff --git a/.buildnumber b/.buildnumber index a36df4ef..2a14d608 100644 --- a/.buildnumber +++ b/.buildnumber @@ -1 +1 @@ -269 \ No newline at end of file +270 \ No newline at end of file diff --git a/CHANGELOG.md b/CHANGELOG.md index 03969207..f921248e 100755 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,6 @@ ## CHANGELOG -### v0.37.15 +### v0.37.15 (2024-07-29) * Enhancement: Support env expansion for script runner #1125 * Enhancement: Make LoggerOptions public + add name field #1124 (thanks @SamuelMarks) diff --git a/Cargo.lock b/Cargo.lock index 220e82e3..ace4afaa 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -82,9 +82,9 @@ dependencies = [ [[package]] name = "bstr" -version = "1.9.1" +version = "1.10.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "05efc5cfd9110c8416e471df0e96702d58690178e206e61b7173706673c93706" +checksum = "40723b8fb387abc38f4f4a37c09073622e41dd12327033091ef8950659e6dc0c" dependencies = [ "memchr", "serde", @@ -140,7 +140,7 @@ dependencies = [ [[package]] name = "cargo-make" -version = "0.37.14" +version = "0.37.15" dependencies = [ "cargo_metadata", "ci_info", @@ -205,9 +205,9 @@ dependencies = [ [[package]] name = "cc" -version = "1.1.5" +version = "1.1.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "324c74f2155653c90b04f25b2a47a8a631360cb908f92a772695f430c7e31052" +checksum = "2aba8f4e9906c7ce3c73463f62a7f0c65183ada1a2d47e397cc8810827f9694f" [[package]] name = "cfg-if" @@ -792,9 +792,9 @@ dependencies = [ [[package]] name = "lazy-regex" -version = "3.1.0" +version = "3.2.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5d12be4595afdf58bd19e4a9f4e24187da2a66700786ff660a418e9059937a4c" +checksum = "576c8060ecfdf2e56995cf3274b4f2d71fa5e4fa3607c1c0b63c10180ee58741" dependencies = [ "lazy-regex-proc_macros", "once_cell", @@ -803,9 +803,9 @@ dependencies = [ [[package]] name = "lazy-regex-proc_macros" -version = "3.1.0" +version = "3.2.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "44bcd58e6c97a7fcbaffcdc95728b393b8d98933bfadad49ed4097845b57ef0b" +checksum = "9efb9e65d4503df81c615dc33ff07042a9408ac7f26b45abee25566f7fbfd12c" dependencies = [ "proc-macro2", "quote", @@ -1397,9 +1397,9 @@ dependencies = [ [[package]] name = "syn" -version = "2.0.71" +version = "2.0.72" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b146dcf730474b4bcd16c311627b31ede9ab149045db4d6088b3becaea046462" +checksum = "dc4b9b9bf2add8093d3f2c0204471e951b2285580335de42f9d2534f3ae7a8af" dependencies = [ "proc-macro2", "quote", @@ -1420,18 +1420,18 @@ dependencies = [ [[package]] name = "thiserror" -version = "1.0.62" +version = "1.0.63" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f2675633b1499176c2dff06b0856a27976a8f9d436737b4cf4f312d4d91d8bbb" +checksum = "c0342370b38b6a11b6cc11d6a805569958d54cfa061a29969c3b5ce2ea405724" dependencies = [ "thiserror-impl", ] [[package]] name = "thiserror-impl" -version = "1.0.62" +version = "1.0.63" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d20468752b09f49e909e55a5d338caa8bedf615594e9d80bc4c565d30faf798c" +checksum = "a4558b58466b9ad7ca0f102865eccc95938dca1a74a856f2b57b6629050da261" dependencies = [ "proc-macro2", "quote", @@ -1573,9 +1573,9 @@ checksum = "accd4ea62f7bb7a82fe23066fb0957d48ef677f6eeb8215f372f52e48bb32426" [[package]] name = "version_check" -version = "0.9.4" +version = "0.9.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "49874b5167b65d7193b8aba1567f5c7d93d001cafc34600cee003eda787e483f" +checksum = "0b928f33d975fc6ad9f86c8f283853ad26bdd5b10b7f1542aa2fa15e2289105a" [[package]] name = "vte" @@ -1893,9 +1893,9 @@ checksum = "589f6da84c646204747d1270a2a5661ea66ed1cced2631d546fdfb155959f9ec" [[package]] name = "winnow" -version = "0.6.13" +version = "0.6.16" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "59b5e5f6c299a3c7890b876a2a587f3115162487e704907d9b6cd29473052ba1" +checksum = "b480ae9340fc261e6be3e95a1ba86d54ae3f9171132a73ce8d4bbaf68339507c" dependencies = [ "memchr", ] diff --git a/Cargo.toml b/Cargo.toml index 5691ca52..b7827e2a 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "cargo-make" -version = "0.37.14" +version = "0.37.15" authors = ["Sagie Gur-Ari "] description = "Rust task runner and build tool." license = "Apache-2.0" diff --git a/README.md b/README.md index 130497dd..db869530 100644 --- a/README.md +++ b/README.md @@ -242,7 +242,7 @@ cargo make my-flow The output would look something like this: ```console -[cargo-make] INFO - cargo make 0.37.14 +[cargo-make] INFO - cargo make 0.37.15 [cargo-make] INFO - Build File: Makefile.toml [cargo-make] INFO - Task: my-flow [cargo-make] INFO - Setting Up Env. @@ -665,7 +665,7 @@ Invoking cargo-make with additional arguments would result in the following: ```console > cargo make varargs arg1 arg2 arg3 -[cargo-make] INFO - cargo make 0.37.14 +[cargo-make] INFO - cargo make 0.37.15 [cargo-make] INFO - Build File: Makefile.toml [cargo-make] INFO - Task: varargs [cargo-make] INFO - Setting Up Env. @@ -682,7 +682,7 @@ Invoking cargo-make without any additional arguments would result in the followi ```console > cargo make varargs -[cargo-make] INFO - cargo make 0.37.14 +[cargo-make] INFO - cargo make 0.37.15 [cargo-make] INFO - Build File: Makefile.toml [cargo-make] INFO - Task: varargs [cargo-make] INFO - Setting Up Env. @@ -709,7 +709,7 @@ Would output: ```console > cargo make varargs arg1 arg2 arg3 -[cargo-make] INFO - cargo make 0.37.14 +[cargo-make] INFO - cargo make 0.37.15 [cargo-make] INFO - Build File: Makefile.toml [cargo-make] INFO - Task: varargs [cargo-make] INFO - Setting Up Env. @@ -760,7 +760,7 @@ Invoking cargo-make with additional arguments would result in the following: ```console > cargo make cli-args arg1 arg2 arg3 -[cargo-make] INFO - cargo make 0.37.14 +[cargo-make] INFO - cargo make 0.37.15 [cargo-make] INFO - Build File: Makefile.toml [cargo-make] INFO - Task: cli-args [cargo-make] INFO - Setting Up Env. @@ -777,7 +777,7 @@ Invoking cargo-make without any additional arguments would result in the followi ```console > cargo make cli-args -[cargo-make] INFO - cargo make 0.37.14 +[cargo-make] INFO - cargo make 0.37.15 [cargo-make] INFO - Build File: Makefile.toml [cargo-make] INFO - Task: cli-args [cargo-make] INFO - Setting Up Env. @@ -1039,7 +1039,7 @@ Output: ```console > cargo make --cwd ./examples --makefile ./shebang.toml shebang-sh -[cargo-make] INFO - cargo make 0.37.14 +[cargo-make] INFO - cargo make 0.37.15 [cargo-make] INFO - Build File: ./shebang.toml [cargo-make] INFO - Task: shebang-sh [cargo-make] INFO - Profile: development @@ -1066,7 +1066,7 @@ Output: ```console > cargo make --cwd ./examples --makefile ./shebang.toml shebang-python -[cargo-make] INFO - cargo make 0.37.14 +[cargo-make] INFO - cargo make 0.37.15 [cargo-make] INFO - Build File: ./shebang.toml [cargo-make] INFO - Task: shebang-python [cargo-make] INFO - Profile: development @@ -1391,7 +1391,7 @@ args = ["3"] We run task **3** the output would be: ```console -[cargo-make] INFO - cargo make 0.37.14 +[cargo-make] INFO - cargo make 0.37.15 [cargo-make] INFO - Build File: task_extend.toml [cargo-make] INFO - Task: 3 [cargo-make] INFO - Profile: development @@ -2630,7 +2630,7 @@ cargo make --cwd ./examples --makefile profile.toml --profile production echo Output: ```console -[cargo-make] INFO - cargo make 0.37.14 +[cargo-make] INFO - cargo make 0.37.15 [cargo-make] INFO - Build File: profile.toml [cargo-make] INFO - Task: echo [cargo-make] INFO - Profile: production @@ -2750,7 +2750,7 @@ deprecated = true When invoking **legacy** task for example, the output is: ```console -[cargo-make] INFO - cargo make 0.37.14 +[cargo-make] INFO - cargo make 0.37.15 [cargo-make] INFO - Build File: deprecated.toml [cargo-make] INFO - Task: legacy [cargo-make] INFO - Profile: development @@ -2791,7 +2791,7 @@ watch = true Below is a sample output of invoking the task: ```console -[cargo-make] INFO - cargo make 0.37.14 +[cargo-make] INFO - cargo make 0.37.15 [cargo-make] INFO - Build File: ./examples/watch.toml [cargo-make] INFO - Task: watch-example [cargo-make] INFO - Setting Up Env. @@ -2799,7 +2799,7 @@ Below is a sample output of invoking the task: [cargo-make] INFO - Running Task: watch-example [cargo-make] INFO - Running Task: watch-example-watch [cargo-make] INFO - Execute Command: "cargo" "watch" "-q" "-x" "make --disable-check-for-updates --no-on-error --loglevel=info --makefile=/projects/rust/cargo-make/examples/watch.toml watch-example" -[cargo-make] INFO - cargo make 0.37.14 +[cargo-make] INFO - cargo make 0.37.15 [cargo-make] INFO - Build File: /projects/rust/cargo-make/examples/watch.toml [cargo-make] INFO - Task: watch-example [cargo-make] INFO - Setting Up Env. @@ -2883,7 +2883,7 @@ args = ["${MULTIPLE_VALUES}"] ```console > cargo make --cwd ./examples --makefile functions.toml split -[cargo-make] INFO - cargo make 0.37.14 +[cargo-make] INFO - cargo make 0.37.15 [cargo-make] INFO - Build File: functions.toml [cargo-make] INFO - Task: split [cargo-make] INFO - Profile: development @@ -2895,7 +2895,7 @@ args = ["${MULTIPLE_VALUES}"] [cargo-make] INFO - Build Done in 0 seconds. > cargo make --cwd ./examples --makefile functions.toml no-split -[cargo-make] INFO - cargo make 0.37.14 +[cargo-make] INFO - cargo make 0.37.15 [cargo-make] INFO - Build File: functions.toml [cargo-make] INFO - Task: no-split [cargo-make] INFO - Profile: development @@ -2933,7 +2933,7 @@ args = ["@@getat(MULTIPLE_VALUES,|,3)"] ```console > cargo make --cwd ./examples --makefile functions.toml getat -[cargo-make] INFO - cargo make 0.37.14 +[cargo-make] INFO - cargo make 0.37.15 [cargo-make] INFO - Build File: functions.toml [cargo-make] INFO - Task: getat [cargo-make] INFO - Profile: development @@ -2960,7 +2960,7 @@ args = ["1", "@@remove-empty(DOES_NOT_EXIST)", "2"] ```console > cargo make --cwd ./examples --makefile functions.toml remove-empty -[cargo-make] INFO - cargo make 0.37.14 +[cargo-make] INFO - cargo make 0.37.15 [cargo-make] INFO - Build File: functions.toml [cargo-make] INFO - Task: remove-empty [cargo-make] INFO - Profile: development @@ -2993,7 +2993,7 @@ args = ["@@trim(TRIM_VALUE)"] ```console > cargo make --cwd ./examples --makefile functions.toml remove-empty -[cargo-make] INFO - cargo make 0.37.14 +[cargo-make] INFO - cargo make 0.37.15 [cargo-make] INFO - Build File: functions.toml [cargo-make] INFO - Task: trim [cargo-make] INFO - Profile: development @@ -3022,7 +3022,7 @@ args = ["@@trim(TRIM_VALUE,end)"] ```console > cargo make --cwd ./examples --makefile functions.toml trim-start -[cargo-make] INFO - cargo make 0.37.14 +[cargo-make] INFO - cargo make 0.37.15 [cargo-make] INFO - Build File: functions.toml [cargo-make] INFO - Task: trim-start [cargo-make] INFO - Profile: development @@ -3034,7 +3034,7 @@ args = ["@@trim(TRIM_VALUE,end)"] [cargo-make] INFO - Build Done in 0 seconds. > cargo make --cwd ./examples --makefile functions.toml trim-end -[cargo-make] INFO - cargo make 0.37.14 +[cargo-make] INFO - cargo make 0.37.15 [cargo-make] INFO - Build File: functions.toml [cargo-make] INFO - Task: trim-end [cargo-make] INFO - Profile: development @@ -3072,7 +3072,7 @@ Sample run for a mapping that was found: ```console cargo make --cwd ./examples --makefile functions.toml -e DECODE_ENV_VAR=development decode -[cargo-make] INFO - cargo make 0.37.14 +[cargo-make] INFO - cargo make 0.37.15 [cargo-make] INFO - Build File: functions.toml [cargo-make] INFO - Task: decode [cargo-make] INFO - Profile: development @@ -3088,7 +3088,7 @@ Another sample run for a mapping that was not found: ```console cargo make --cwd ./examples --makefile functions.toml -e DECODE_ENV_VAR=unmapped decode -[cargo-make] INFO - cargo make 0.37.14 +[cargo-make] INFO - cargo make 0.37.15 [cargo-make] INFO - Build File: functions.toml [cargo-make] INFO - Task: decode [cargo-make] INFO - Profile: development @@ -3113,7 +3113,7 @@ Sample run: ```console cargo make --cwd ./examples --makefile functions.toml -e DECODE_ENV_VAR=unmapped decode-with-default -[cargo-make] INFO - cargo make 0.37.14 +[cargo-make] INFO - cargo make 0.37.15 [cargo-make] INFO - Build File: functions.toml [cargo-make] INFO - Task: decode-with-default [cargo-make] INFO - Profile: development @@ -3137,7 +3137,7 @@ Sample run: ```console cargo make --cwd ./examples --makefile functions.toml -e DECODE_ENV_VAR=test decode-with-eval -[cargo-make] INFO - cargo make 0.37.14 +[cargo-make] INFO - cargo make 0.37.15 [cargo-make] INFO - Build File: functions.toml [cargo-make] INFO - Task: decode-with-eval [cargo-make] INFO - Profile: development @@ -3511,7 +3511,7 @@ In order to specify the minimal version, use the **min_version** in the config s ```toml [config] -min_version = "0.37.14" +min_version = "0.37.15" ``` @@ -3641,7 +3641,7 @@ Example Usage: ```console cargo make --diff-steps --makefile ./examples/override_core.toml post-build -[cargo-make] INFO - cargo make 0.37.14 +[cargo-make] INFO - cargo make 0.37.15 [cargo-make] INFO - Build File: ./examples/override_core.toml [cargo-make] INFO - Task: post-build [cargo-make] INFO - Setting Up Env. diff --git a/docs/_config.yml b/docs/_config.yml index 2c1bda68..330a7ed4 100755 --- a/docs/_config.yml +++ b/docs/_config.yml @@ -2,4 +2,4 @@ theme: jekyll-theme-cayman title: cargo-make description: Rust task runner and build tool. show_downloads: false -version: 0.37.14 +version: 0.37.15 diff --git a/docs/api/cargo_make/all.html b/docs/api/cargo_make/all.html index 03eefdad..ef040324 100644 --- a/docs/api/cargo_make/all.html +++ b/docs/api/cargo_make/all.html @@ -1 +1 @@ -List of all items in this crate

List of all items

Functions

\ No newline at end of file +List of all items in this crate

List of all items

Functions

\ No newline at end of file diff --git a/docs/api/cargo_make/fn.get_name.html b/docs/api/cargo_make/fn.get_name.html index 3e284729..b86b306c 100644 --- a/docs/api/cargo_make/fn.get_name.html +++ b/docs/api/cargo_make/fn.get_name.html @@ -1 +1 @@ -get_name in cargo_make - Rust

Function cargo_make::get_name

source ·
pub(crate) fn get_name() -> String
\ No newline at end of file +get_name in cargo_make - Rust

Function cargo_make::get_name

source ·
pub(crate) fn get_name() -> String
\ No newline at end of file diff --git a/docs/api/cargo_make/fn.main.html b/docs/api/cargo_make/fn.main.html index c20901d4..d323b42c 100644 --- a/docs/api/cargo_make/fn.main.html +++ b/docs/api/cargo_make/fn.main.html @@ -1 +1 @@ -main in cargo_make - Rust

Function cargo_make::main

source ·
pub(crate) fn main() -> SuccessOrCargoMakeError<ExitCode>
\ No newline at end of file +main in cargo_make - Rust

Function cargo_make::main

source ·
pub(crate) fn main() -> SuccessOrCargoMakeError<ExitCode>
\ No newline at end of file diff --git a/docs/api/cargo_make/index.html b/docs/api/cargo_make/index.html index b415bcab..87643723 100644 --- a/docs/api/cargo_make/index.html +++ b/docs/api/cargo_make/index.html @@ -1,4 +1,4 @@ -cargo_make - Rust

Crate cargo_make

source ·
Expand description

§cargo-make

+cargo_make - Rust

Crate cargo_make

source ·
Expand description

§cargo-make

Rust task runner and build tool.
The cargo-make task runner enables to define and configure sets of tasks and run them as a flow.
A task is a command or a script to execute.
diff --git a/docs/api/cli/all.html b/docs/api/cli/all.html index 984c1380..d5d366f8 100644 --- a/docs/api/cli/all.html +++ b/docs/api/cli/all.html @@ -1 +1 @@ -List of all items in this crate

List of all items

Structs

Enums

Functions

Statics

\ No newline at end of file +List of all items in this crate

List of all items

Structs

Enums

Functions

Statics

\ No newline at end of file diff --git a/docs/api/cli/cli/fn.run.html b/docs/api/cli/cli/fn.run.html index b180033c..6f92681e 100644 --- a/docs/api/cli/cli/fn.run.html +++ b/docs/api/cli/cli/fn.run.html @@ -1,4 +1,5 @@ -run in cli::cli - Rust

Function cli::cli::run

source ·
pub fn run(
+run in cli::cli - Rust

Function cli::cli::run

source ·
pub fn run(
     cli_args: &CliArgs,
-    global_config: &GlobalConfig
+    global_config: &GlobalConfig,
+    logger_options: Option<LoggerOptions>
 ) -> Result<(), CargoMakeError>
\ No newline at end of file diff --git a/docs/api/cli/cli/fn.run_cli.html b/docs/api/cli/cli/fn.run_cli.html index c1c26ab4..eda85177 100644 --- a/docs/api/cli/cli/fn.run_cli.html +++ b/docs/api/cli/cli/fn.run_cli.html @@ -1,4 +1,4 @@ -run_cli in cli::cli - Rust

Function cli::cli::run_cli

source ·
pub fn run_cli(
+run_cli in cli::cli - Rust

Function cli::cli::run_cli

source ·
pub fn run_cli(
     command_name: String,
     sub_command: bool
 ) -> Result<CliArgs, CargoMakeError>
Expand description

Handles the command line arguments and executes the runner.

diff --git a/docs/api/cli/cli/index.html b/docs/api/cli/cli/index.html index c728817c..87efc358 100644 --- a/docs/api/cli/cli/index.html +++ b/docs/api/cli/cli/index.html @@ -1,3 +1,3 @@ -cli::cli - Rust

Module cli::cli

source ·
Expand description

§cli

+cli::cli - Rust

Module cli::cli

source ·
Expand description

§cli

The cargo-make cli

Functions§

  • Handles the command line arguments and executes the runner.
\ No newline at end of file diff --git a/docs/api/cli/cli_commands/index.html b/docs/api/cli/cli_commands/index.html index 8ed5d520..a13319f4 100644 --- a/docs/api/cli/cli_commands/index.html +++ b/docs/api/cli/cli_commands/index.html @@ -1,3 +1,3 @@ -cli::cli_commands - Rust

Module cli::cli_commands

source ·
Expand description

§cli_commands

+cli::cli_commands - Rust

Module cli::cli_commands

source ·
Expand description

§cli_commands

Wrappers for each CLI sub command.

Modules§

\ No newline at end of file diff --git a/docs/api/cli/cli_commands/list_steps/fn.run.html b/docs/api/cli/cli_commands/list_steps/fn.run.html index f69234b2..ff67c3fa 100644 --- a/docs/api/cli/cli_commands/list_steps/fn.run.html +++ b/docs/api/cli/cli_commands/list_steps/fn.run.html @@ -1,4 +1,4 @@ -run in cli::cli_commands::list_steps - Rust

Function cli::cli_commands::list_steps::run

source ·
pub fn run(
+run in cli::cli_commands::list_steps - Rust

Function cli::cli_commands::list_steps::run

source ·
pub fn run(
     config: &Config,
     output_format: &str,
     output_file: &Option<String>,
diff --git a/docs/api/cli/cli_commands/list_steps/index.html b/docs/api/cli/cli_commands/list_steps/index.html
index 5a2a1e8e..fe836cb1 100644
--- a/docs/api/cli/cli_commands/list_steps/index.html
+++ b/docs/api/cli/cli_commands/list_steps/index.html
@@ -1,4 +1,4 @@
-cli::cli_commands::list_steps - Rust

Module cli::cli_commands::list_steps

source ·
Expand description

§list_steps

+cli::cli_commands::list_steps - Rust

Module cli::cli_commands::list_steps

source ·
Expand description

§list_steps

Lists all known tasks in multiple formats. Or can list tasks based on a category

Functions§

\ No newline at end of file diff --git a/docs/api/cli/cli_commands/print_steps/fn.print.html b/docs/api/cli/cli_commands/print_steps/fn.print.html index 9ef4eb3b..b7618573 100644 --- a/docs/api/cli/cli_commands/print_steps/fn.print.html +++ b/docs/api/cli/cli_commands/print_steps/fn.print.html @@ -1,4 +1,4 @@ -print in cli::cli_commands::print_steps - Rust

Function cli::cli_commands::print_steps::print

source ·
pub fn print(
+print in cli::cli_commands::print_steps - Rust

Function cli::cli_commands::print_steps::print

source ·
pub fn print(
     output_buffer: &mut impl Write,
     config: &Config,
     task: &str,
diff --git a/docs/api/cli/cli_commands/print_steps/index.html b/docs/api/cli/cli_commands/print_steps/index.html
index f0b64526..3728f9aa 100644
--- a/docs/api/cli/cli_commands/print_steps/index.html
+++ b/docs/api/cli/cli_commands/print_steps/index.html
@@ -1,3 +1,3 @@
-cli::cli_commands::print_steps - Rust

Module cli::cli_commands::print_steps

source ·
Expand description
+cli::cli_commands::print_steps - Rust

Module cli::cli_commands::print_steps

source ·
Expand description

Prints the execution plan in multiple formats.

Functions§

  • Only prints the execution plan
\ No newline at end of file diff --git a/docs/api/cli/cli_parser/fn.create_cli.html b/docs/api/cli/cli_parser/fn.create_cli.html index 30114779..17742c65 100644 --- a/docs/api/cli/cli_parser/fn.create_cli.html +++ b/docs/api/cli/cli_parser/fn.create_cli.html @@ -1,4 +1,4 @@ -create_cli in cli::cli_parser - Rust

Function cli::cli_parser::create_cli

source ·
pub fn create_cli(
+create_cli in cli::cli_parser - Rust

Function cli::cli_parser::create_cli

source ·
pub fn create_cli(
     global_config: &GlobalConfig,
     spec: CliSpec,
     default_meta: bool
diff --git a/docs/api/cli/cli_parser/fn.parse.html b/docs/api/cli/cli_parser/fn.parse.html
index ef45f4d9..ada564b4 100644
--- a/docs/api/cli/cli_parser/fn.parse.html
+++ b/docs/api/cli/cli_parser/fn.parse.html
@@ -1,4 +1,4 @@
-parse in cli::cli_parser - Rust

Function cli::cli_parser::parse

source ·
pub fn parse(
+parse in cli::cli_parser - Rust

Function cli::cli_parser::parse

source ·
pub fn parse(
     global_config: &GlobalConfig,
     command_name: &str,
     sub_command: bool
diff --git a/docs/api/cli/cli_parser/fn.parse_args.html b/docs/api/cli/cli_parser/fn.parse_args.html
index e69cc882..95912bf0 100644
--- a/docs/api/cli/cli_parser/fn.parse_args.html
+++ b/docs/api/cli/cli_parser/fn.parse_args.html
@@ -1,4 +1,4 @@
-parse_args in cli::cli_parser - Rust

Function cli::cli_parser::parse_args

source ·
pub fn parse_args(
+parse_args in cli::cli_parser - Rust

Function cli::cli_parser::parse_args

source ·
pub fn parse_args(
     global_config: &GlobalConfig,
     command_name: &str,
     sub_command: bool,
diff --git a/docs/api/cli/cli_parser/index.html b/docs/api/cli/cli_parser/index.html
index 9dd77aa4..b699174b 100644
--- a/docs/api/cli/cli_parser/index.html
+++ b/docs/api/cli/cli_parser/index.html
@@ -1,3 +1,3 @@
-cli::cli_parser - Rust

Module cli::cli_parser

source ·
Expand description

§cli_parser

+cli::cli_parser - Rust

Module cli::cli_parser

source ·
Expand description

§cli_parser

Defines the cli args and parsers them.

Functions§

\ No newline at end of file diff --git a/docs/api/cli/config/fn.get_config_directory.html b/docs/api/cli/config/fn.get_config_directory.html index 1cbf3e94..590b006c 100644 --- a/docs/api/cli/config/fn.get_config_directory.html +++ b/docs/api/cli/config/fn.get_config_directory.html @@ -1 +1 @@ -get_config_directory in cli::config - Rust

Function cli::config::get_config_directory

source ·
pub fn get_config_directory() -> Option<PathBuf>
\ No newline at end of file +get_config_directory in cli::config - Rust

Function cli::config::get_config_directory

source ·
pub fn get_config_directory() -> Option<PathBuf>
\ No newline at end of file diff --git a/docs/api/cli/config/fn.load.html b/docs/api/cli/config/fn.load.html index c644f1f8..cbd8aa2d 100644 --- a/docs/api/cli/config/fn.load.html +++ b/docs/api/cli/config/fn.load.html @@ -1,2 +1,2 @@ -load in cli::config - Rust

Function cli::config::load

source ·
pub fn load() -> Result<GlobalConfig, CargoMakeError>
Expand description

Returns the configuration

+load in cli::config - Rust

Function cli::config::load

source ·
pub fn load() -> Result<GlobalConfig, CargoMakeError>
Expand description

Returns the configuration

\ No newline at end of file diff --git a/docs/api/cli/config/fn.load_from_path.html b/docs/api/cli/config/fn.load_from_path.html index e4f44e6d..f183d762 100644 --- a/docs/api/cli/config/fn.load_from_path.html +++ b/docs/api/cli/config/fn.load_from_path.html @@ -1,3 +1,3 @@ -load_from_path in cli::config - Rust

Function cli::config::load_from_path

source ·
pub fn load_from_path(
+load_from_path in cli::config - Rust

Function cli::config::load_from_path

source ·
pub fn load_from_path(
     directory: PathBuf
 ) -> Result<GlobalConfig, CargoMakeError>
\ No newline at end of file diff --git a/docs/api/cli/config/index.html b/docs/api/cli/config/index.html index 66fbdde8..30cec014 100644 --- a/docs/api/cli/config/index.html +++ b/docs/api/cli/config/index.html @@ -1,3 +1,3 @@ -cli::config - Rust

Module cli::config

source ·
Expand description

§config

+cli::config - Rust

Module cli::config

source ·
Expand description

§config

Enable to load/store user level configuration for cargo-make.

Statics§

Functions§

\ No newline at end of file diff --git a/docs/api/cli/config/static.CONFIG_FILE.html b/docs/api/cli/config/static.CONFIG_FILE.html index 36c0990d..b58c2905 100644 --- a/docs/api/cli/config/static.CONFIG_FILE.html +++ b/docs/api/cli/config/static.CONFIG_FILE.html @@ -1 +1 @@ -CONFIG_FILE in cli::config - Rust

Static cli::config::CONFIG_FILE

source ·
pub static CONFIG_FILE: &'static str
\ No newline at end of file +CONFIG_FILE in cli::config - Rust

Static cli::config::CONFIG_FILE

source ·
pub static CONFIG_FILE: &'static str
\ No newline at end of file diff --git a/docs/api/cli/error/enum.CargoMakeError.html b/docs/api/cli/error/enum.CargoMakeError.html index 56da4094..7a1e774b 100644 --- a/docs/api/cli/error/enum.CargoMakeError.html +++ b/docs/api/cli/error/enum.CargoMakeError.html @@ -1,4 +1,4 @@ -CargoMakeError in cli::error - Rust

Enum cli::error::CargoMakeError

source ·
#[repr(u16)]
pub enum CargoMakeError { +CargoMakeError in cli::error - Rust

Enum cli::error::CargoMakeError

source ·
#[repr(u16)]
pub enum CargoMakeError {
Show 18 variants EnvVarCycle(String), AliasCycle(String, String), CircularReference(String), @@ -27,7 +27,7 @@ ParserError { error: ParserError, }, -
}

Variants§

§

EnvVarCycle(String)

§

AliasCycle(String, String)

§

CircularReference(String)

§

VersionTooOld(String)

§

ExitCodeValidation = 104

§

ExitCodeError(i32)

§

DescriptorParseFailed(String)

§

ParseFileFailed(String, String)

§

Arity(&'static str)

§

MethodCallRestriction(&'static str)

§

TaskIs(String, &'static str)

§

NotFound(String)

§

StdIoError

Fields

§error: Error
§

StdFmtError

Fields

§error: Error
§

ExitCode(ExitCode)

§

TomlDeError

Fields

§error: Error
§

FsIOError

Fields

§error: FsIOError
§

ParserError

Fields

§error: ParserError

Trait Implementations§

source§

impl AsRef<str> for CargoMakeError

source§

fn as_ref(&self) -> &str

Converts this type into a shared reference of the (usually inferred) input type.
source§

impl Debug for CargoMakeError

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Display for CargoMakeError

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
source§

impl<'_derivative_strum> From<&'_derivative_strum CargoMakeError> for &'static str

source§

fn from(x: &'_derivative_strum CargoMakeError) -> &'static str

Converts to this type from the input type.
source§

impl<'_enum> From<&'_enum CargoMakeError> for CargoMakeErrorDiscriminants

source§

fn from(val: &'_enum CargoMakeError) -> CargoMakeErrorDiscriminants

Converts to this type from the input type.
source§

impl From<CargoMakeError> for &'static str

source§

fn from(x: CargoMakeError) -> &'static str

Converts to this type from the input type.
source§

impl From<CargoMakeError> for CargoMakeErrorDiscriminants

source§

fn from(val: CargoMakeError) -> CargoMakeErrorDiscriminants

Converts to this type from the input type.
source§

impl From<Error> for CargoMakeError

source§

fn from(error: Error) -> Self

Converts to this type from the input type.
source§

impl From<Error> for CargoMakeError

source§

fn from(error: Error) -> Self

Converts to this type from the input type.
source§

impl From<Error> for CargoMakeError

source§

fn from(error: Error) -> Self

Converts to this type from the input type.
source§

impl From<ExitCode> for CargoMakeError

source§

fn from(error: ExitCode) -> Self

Converts to this type from the input type.
source§

impl From<FsIOError> for CargoMakeError

source§

fn from(error: FsIOError) -> Self

Converts to this type from the input type.
source§

impl From<ParserError> for CargoMakeError

source§

fn from(error: ParserError) -> Self

Converts to this type from the input type.
source§

impl Termination for CargoMakeError

source§

fn report(self) -> ExitCode

Is called to get the representation of the value as status code. +
}

Variants§

§

EnvVarCycle(String)

§

AliasCycle(String, String)

§

CircularReference(String)

§

VersionTooOld(String)

§

ExitCodeValidation = 104

§

ExitCodeError(i32)

§

DescriptorParseFailed(String)

§

ParseFileFailed(String, String)

§

Arity(&'static str)

§

MethodCallRestriction(&'static str)

§

TaskIs(String, &'static str)

§

NotFound(String)

§

StdIoError

Fields

§error: Error
§

StdFmtError

Fields

§error: Error
§

ExitCode(ExitCode)

§

TomlDeError

Fields

§error: Error
§

FsIOError

Fields

§error: FsIOError
§

ParserError

Fields

§error: ParserError

Trait Implementations§

source§

impl AsRef<str> for CargoMakeError

source§

fn as_ref(&self) -> &str

Converts this type into a shared reference of the (usually inferred) input type.
source§

impl Debug for CargoMakeError

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Display for CargoMakeError

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
source§

impl<'_derivative_strum> From<&'_derivative_strum CargoMakeError> for &'static str

source§

fn from(x: &'_derivative_strum CargoMakeError) -> &'static str

Converts to this type from the input type.
source§

impl<'_enum> From<&'_enum CargoMakeError> for CargoMakeErrorDiscriminants

source§

fn from(val: &'_enum CargoMakeError) -> CargoMakeErrorDiscriminants

Converts to this type from the input type.
source§

impl From<CargoMakeError> for &'static str

source§

fn from(x: CargoMakeError) -> &'static str

Converts to this type from the input type.
source§

impl From<CargoMakeError> for CargoMakeErrorDiscriminants

source§

fn from(val: CargoMakeError) -> CargoMakeErrorDiscriminants

Converts to this type from the input type.
source§

impl From<Error> for CargoMakeError

source§

fn from(error: Error) -> Self

Converts to this type from the input type.
source§

impl From<Error> for CargoMakeError

source§

fn from(error: Error) -> Self

Converts to this type from the input type.
source§

impl From<Error> for CargoMakeError

source§

fn from(error: Error) -> Self

Converts to this type from the input type.
source§

impl From<ExitCode> for CargoMakeError

source§

fn from(error: ExitCode) -> Self

Converts to this type from the input type.
source§

impl From<FsIOError> for CargoMakeError

source§

fn from(error: FsIOError) -> Self

Converts to this type from the input type.
source§

impl From<ParserError> for CargoMakeError

source§

fn from(error: ParserError) -> Self

Converts to this type from the input type.
source§

impl Termination for CargoMakeError

source§

fn report(self) -> ExitCode

Is called to get the representation of the value as status code. This status code is returned to the operating system.

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where diff --git a/docs/api/cli/error/enum.CargoMakeErrorDiscriminants.html b/docs/api/cli/error/enum.CargoMakeErrorDiscriminants.html index c86e2df7..bdf19758 100644 --- a/docs/api/cli/error/enum.CargoMakeErrorDiscriminants.html +++ b/docs/api/cli/error/enum.CargoMakeErrorDiscriminants.html @@ -1,4 +1,4 @@ -CargoMakeErrorDiscriminants in cli::error - Rust

Enum cli::error::CargoMakeErrorDiscriminants

source ·
#[repr(u16)]
pub enum CargoMakeErrorDiscriminants { +CargoMakeErrorDiscriminants in cli::error - Rust

Enum cli::error::CargoMakeErrorDiscriminants

source ·
#[repr(u16)]
pub enum CargoMakeErrorDiscriminants {
Show 18 variants EnvVarCycle = 100, AliasCycle = 101, CircularReference = 102, diff --git a/docs/api/cli/error/enum.SuccessOrCargoMakeError.html b/docs/api/cli/error/enum.SuccessOrCargoMakeError.html index b84e68b2..9426ef2e 100644 --- a/docs/api/cli/error/enum.SuccessOrCargoMakeError.html +++ b/docs/api/cli/error/enum.SuccessOrCargoMakeError.html @@ -1,7 +1,7 @@ -SuccessOrCargoMakeError in cli::error - Rust

Enum cli::error::SuccessOrCargoMakeError

source ·
pub enum SuccessOrCargoMakeError<T> {
+SuccessOrCargoMakeError in cli::error - Rust

Enum cli::error::SuccessOrCargoMakeError

source ·
pub enum SuccessOrCargoMakeError<T> {
     Ok(T),
     Err(CargoMakeError),
-}

Variants§

Trait Implementations§

source§

impl<T> From<Result<T, CargoMakeError>> for SuccessOrCargoMakeError<T>

source§

fn from(value: Result<T, CargoMakeError>) -> Self

Converts to this type from the input type.
source§

impl<T> Termination for SuccessOrCargoMakeError<T>

source§

fn report(self) -> ExitCode

Is called to get the representation of the value as status code. +}

Variants§

Trait Implementations§

source§

impl<T> From<Result<T, CargoMakeError>> for SuccessOrCargoMakeError<T>

source§

fn from(value: Result<T, CargoMakeError>) -> Self

Converts to this type from the input type.
source§

impl<T: Any> Termination for SuccessOrCargoMakeError<T>

source§

fn report(self) -> ExitCode

Is called to get the representation of the value as status code. This status code is returned to the operating system.

Auto Trait Implementations§

§

impl<T> Freeze for SuccessOrCargoMakeError<T>
where T: Freeze,

§

impl<T> !RefUnwindSafe for SuccessOrCargoMakeError<T>

§

impl<T> Send for SuccessOrCargoMakeError<T>
where T: Send,

§

impl<T> Sync for SuccessOrCargoMakeError<T>
where diff --git a/docs/api/cli/error/index.html b/docs/api/cli/error/index.html index 64f8d4f3..6fbcfb4c 100644 --- a/docs/api/cli/error/index.html +++ b/docs/api/cli/error/index.html @@ -1 +1 @@ -cli::error - Rust

Module cli::error

source ·

Enums§

\ No newline at end of file +cli::error - Rust

Module cli::error

source ·

Enums§

\ No newline at end of file diff --git a/docs/api/cli/fn.run_cli.html b/docs/api/cli/fn.run_cli.html index 7c16728c..0e18b4e1 100644 --- a/docs/api/cli/fn.run_cli.html +++ b/docs/api/cli/fn.run_cli.html @@ -1,4 +1,4 @@ -run_cli in cli - Rust

Function cli::run_cli

source ·
pub fn run_cli(
+run_cli in cli - Rust

Function cli::run_cli

source ·
pub fn run_cli(
     command_name: String,
     sub_command: bool
 ) -> Result<CliArgs, CargoMakeError>
Expand description

Handles the command line arguments and executes the runner.

diff --git a/docs/api/cli/index.html b/docs/api/cli/index.html index 34e6fc09..89ed3f44 100644 --- a/docs/api/cli/index.html +++ b/docs/api/cli/index.html @@ -1,4 +1,4 @@ -cli - Rust

Crate cli

source ·
Expand description

§cargo-make

+cli - Rust

Crate cli

source ·
Expand description

§cargo-make

Rust task runner and build tool.
The cargo-make task runner enables to define and configure sets of tasks and run them as a flow.
A task is a command or a script to execute.
@@ -16,4 +16,4 @@

§Contribut

§License

Developed by Sagie Gur-Ari and licensed under the Apache 2 open source license.

-

Modules§

Functions§

  • Handles the command line arguments and executes the runner.
\ No newline at end of file +

Modules§

Functions§

  • Handles the command line arguments and executes the runner.
\ No newline at end of file diff --git a/docs/api/cli/logger/index.html b/docs/api/cli/logger/index.html new file mode 100644 index 00000000..e64b7b0b --- /dev/null +++ b/docs/api/cli/logger/index.html @@ -0,0 +1,3 @@ +cli::logger - Rust

Module cli::logger

source ·
Expand description

§log

+

Initializes the global logger.

+

Structs§

\ No newline at end of file diff --git a/docs/api/cli/logger/sidebar-items.js b/docs/api/cli/logger/sidebar-items.js new file mode 100644 index 00000000..941131a2 --- /dev/null +++ b/docs/api/cli/logger/sidebar-items.js @@ -0,0 +1 @@ +window.SIDEBAR_ITEMS = {"struct":["LoggerOptions"]}; \ No newline at end of file diff --git a/docs/api/cli/logger/struct.LoggerOptions.html b/docs/api/cli/logger/struct.LoggerOptions.html new file mode 100644 index 00000000..e2d5afcf --- /dev/null +++ b/docs/api/cli/logger/struct.LoggerOptions.html @@ -0,0 +1,27 @@ +LoggerOptions in cli::logger - Rust

Struct cli::logger::LoggerOptions

source ·
pub struct LoggerOptions {
+    pub name: String,
+    pub level: String,
+    pub color: bool,
+}
Expand description

The logger options used to initialize the logger

+

Fields§

§name: String

Name to prefix each log message: “[name] %s”

+
§level: String

The logger level name (verbose, info, error, off)

+
§color: bool

True to printout colorful output

+

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where + T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

+
source§

impl<T, U> Into<U> for T
where + U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

+

That is, this conversion is whatever the implementation of +From<T> for U chooses to do.

+
source§

impl<T> IntoEither for T

source§

fn into_either(self, into_left: bool) -> Either<Self, Self>

Converts self into a Left variant of Either<Self, Self> +if into_left is true. +Converts self into a Right variant of Either<Self, Self> +otherwise. Read more
source§

fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
where + F: FnOnce(&Self) -> bool,

Converts self into a Left variant of Either<Self, Self> +if into_left(&self) returns true. +Converts self into a Right variant of Either<Self, Self> +otherwise. Read more
§

impl<T> Pointable for T

§

const ALIGN: usize = _

The alignment of pointer.
§

type Init = T

The type for initializers.
§

unsafe fn init(init: <T as Pointable>::Init) -> usize

Initializes a with the given initializer. Read more
§

unsafe fn deref<'a>(ptr: usize) -> &'a T

Dereferences the given pointer. Read more
§

unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

Mutably dereferences the given pointer. Read more
§

unsafe fn drop(ptr: usize)

Drops the object pointed to by the given pointer. Read more
source§

impl<T> Same for T

§

type Output = T

Should always be Self
source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where + V: MultiLane<T>,

§

fn vzip(self) -> V

\ No newline at end of file diff --git a/docs/api/cli/runner/fn.run.html b/docs/api/cli/runner/fn.run.html index 12aaa5f5..3d7a28b1 100644 --- a/docs/api/cli/runner/fn.run.html +++ b/docs/api/cli/runner/fn.run.html @@ -1,4 +1,4 @@ -run in cli::runner - Rust

Function cli::runner::run

source ·
pub fn run(
+run in cli::runner - Rust

Function cli::runner::run

source ·
pub fn run(
     config: Config,
     task: &str,
     env_info: EnvInfo,
diff --git a/docs/api/cli/runner/index.html b/docs/api/cli/runner/index.html
index 50acb293..aa971d61 100644
--- a/docs/api/cli/runner/index.html
+++ b/docs/api/cli/runner/index.html
@@ -1,4 +1,4 @@
-cli::runner - Rust

Module cli::runner

source ·
Expand description

§runner

+cli::runner - Rust

Module cli::runner

source ·
Expand description

§runner

Runs the requested tasks.
The flow is as follows: