diff --git a/.buildnumber b/.buildnumber index 61f9147f..8bc94cb7 100644 --- a/.buildnumber +++ b/.buildnumber @@ -1 +1 @@ -275 \ No newline at end of file +276 \ No newline at end of file diff --git a/CHANGELOG.md b/CHANGELOG.md index 3d372060..ff4e7174 100755 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,6 @@ ## CHANGELOG -### v0.37.21 +### v0.37.21 (2024-10-04) * Fix: Remove RUSTFLAGS from workaround of rustup env issue when setting toolchain #1169 * Maintenance: upgrade duckscript diff --git a/Cargo.lock b/Cargo.lock index f67e9dcc..25bd8e85 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -143,7 +143,7 @@ dependencies = [ [[package]] name = "cargo-make" -version = "0.37.20" +version = "0.37.21" dependencies = [ "cargo_metadata", "cfg-if", diff --git a/Cargo.toml b/Cargo.toml index 223b4368..c6c223e7 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "cargo-make" -version = "0.37.20" +version = "0.37.21" authors = ["Sagie Gur-Ari "] description = "Rust task runner and build tool." license = "Apache-2.0" diff --git a/README.md b/README.md index 937ea65c..d1a300d8 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.20 +[cargo-make] INFO - cargo make 0.37.21 [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.20 +[cargo-make] INFO - cargo make 0.37.21 [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.20 +[cargo-make] INFO - cargo make 0.37.21 [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.20 +[cargo-make] INFO - cargo make 0.37.21 [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.20 +[cargo-make] INFO - cargo make 0.37.21 [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.20 +[cargo-make] INFO - cargo make 0.37.21 [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.20 +[cargo-make] INFO - cargo make 0.37.21 [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.20 +[cargo-make] INFO - cargo make 0.37.21 [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.20 +[cargo-make] INFO - cargo make 0.37.21 [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.20 +[cargo-make] INFO - cargo make 0.37.21 [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.20 +[cargo-make] INFO - cargo make 0.37.21 [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.20 +[cargo-make] INFO - cargo make 0.37.21 [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.20 +[cargo-make] INFO - cargo make 0.37.21 [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.20 +[cargo-make] INFO - cargo make 0.37.21 [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.20 +[cargo-make] INFO - cargo make 0.37.21 [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.20 +[cargo-make] INFO - cargo make 0.37.21 [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.20 +[cargo-make] INFO - cargo make 0.37.21 [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.20 +[cargo-make] INFO - cargo make 0.37.21 [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.20 +[cargo-make] INFO - cargo make 0.37.21 [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.20 +[cargo-make] INFO - cargo make 0.37.21 [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.20 +[cargo-make] INFO - cargo make 0.37.21 [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.20 +[cargo-make] INFO - cargo make 0.37.21 [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.20 +[cargo-make] INFO - cargo make 0.37.21 [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.20 +[cargo-make] INFO - cargo make 0.37.21 [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.20" +min_version = "0.37.21" ``` @@ -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.20 +[cargo-make] INFO - cargo make 0.37.21 [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 f6a8a8a7..1a9dc6a5 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.20 +version: 0.37.21 diff --git a/docs/api/cargo_make/all.html b/docs/api/cargo_make/all.html index 6bd69fae..5bc5fec4 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 b2a42cbc..cae40f92 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 7cd07164..79987508 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 c11eb7cc..0104ac9d 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 42b85059..acd86414 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 52032def..ece001c7 100644 --- a/docs/api/cli/cli/fn.run.html +++ b/docs/api/cli/cli/fn.run.html @@ -1,4 +1,4 @@ -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,
     logger_options: Option<LoggerOptions>
diff --git a/docs/api/cli/cli/fn.run_cli.html b/docs/api/cli/cli/fn.run_cli.html
index 8796bff8..26524313 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 7cc6c049..03ae5bae 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 b500d7ec..0716ed7a 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 84abdb3b..9547b1d2 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 48d497f7..dff486a1 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 f0b1ef13..cd9a5a28 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 b0c50018..45bda747 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 56980a45..ab2a3c94 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 fde904f7..db2dfbe1 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 8469cebb..b97ffcf4 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 91ad3d61..5ba1e044 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 025fbece..147b7266 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 cc91855c..9a15092f 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 4ff690ac..aa4755e1 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 3fb238e9..6477cc6e 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 7ee23de0..7b8a576a 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 cdc695d9..ebec2e6d 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 838a0fa5..37e62179 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 7907649b..97ae0621 100644 --- a/docs/api/cli/error/enum.SuccessOrCargoMakeError.html +++ b/docs/api/cli/error/enum.SuccessOrCargoMakeError.html @@ -1,4 +1,4 @@ -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: Any> Termination for SuccessOrCargoMakeError<T>

source§

fn report(self) -> ExitCode

Is called to get the representation of the value as status code. diff --git a/docs/api/cli/error/index.html b/docs/api/cli/error/index.html index 047b35d3..ba35985d 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 6d3e91f4..52cf8476 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 a3178b4e..694e41fc 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.
diff --git a/docs/api/cli/logger/index.html b/docs/api/cli/logger/index.html index aa0a6ba2..cdc7fd07 100644 --- a/docs/api/cli/logger/index.html +++ b/docs/api/cli/logger/index.html @@ -1,3 +1,3 @@ -cli::logger - Rust

Module cli::logger

source ·
Expand description

§log

+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/struct.LoggerOptions.html b/docs/api/cli/logger/struct.LoggerOptions.html index 5bf0b717..dee052dc 100644 --- a/docs/api/cli/logger/struct.LoggerOptions.html +++ b/docs/api/cli/logger/struct.LoggerOptions.html @@ -1,4 +1,4 @@ -LoggerOptions in cli::logger - Rust

Struct cli::logger::LoggerOptions

source ·
pub struct LoggerOptions {
+LoggerOptions in cli::logger - Rust

Struct cli::logger::LoggerOptions

source ·
pub struct LoggerOptions {
     pub name: String,
     pub level: String,
     pub color: bool,
diff --git a/docs/api/cli/runner/fn.run.html b/docs/api/cli/runner/fn.run.html
index 1ac2e285..6b004f86 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 68a1d978..2e8b99f2 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: