diff --git a/.buildnumber b/.buildnumber index 80060720..e21ad0e4 100644 --- a/.buildnumber +++ b/.buildnumber @@ -1 +1 @@ -272 \ No newline at end of file +273 \ No newline at end of file diff --git a/CHANGELOG.md b/CHANGELOG.md index c6eece8c..9b50e795 100755 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,6 @@ ## CHANGELOG -### v0.37.18 +### v0.37.18 (2024-09-29) * Enhancement: config to disable all installation steps #1147 diff --git a/Cargo.lock b/Cargo.lock index efcd2bce..7bb730e5 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -143,7 +143,7 @@ dependencies = [ [[package]] name = "cargo-make" -version = "0.37.17" +version = "0.37.18" dependencies = [ "cargo_metadata", "cfg-if", @@ -1481,9 +1481,9 @@ dependencies = [ [[package]] name = "tempfile" -version = "3.12.0" +version = "3.13.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "04cbcdd0c794ebb0d4cf35e88edd2f7d2c4c3e9a5a6dab322839b321c6a87a64" +checksum = "f0f2c9fc62d0beef6951ccffd757e241266a2c833136efbe35af6cd2567dca5b" dependencies = [ "cfg-if", "fastrand", diff --git a/Cargo.toml b/Cargo.toml index 19d1fba2..88d8c59b 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "cargo-make" -version = "0.37.17" +version = "0.37.18" authors = ["Sagie Gur-Ari "] description = "Rust task runner and build tool." license = "Apache-2.0" diff --git a/README.md b/README.md index 5004e75c..6af0ad17 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.17 +[cargo-make] INFO - cargo make 0.37.18 [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.17 +[cargo-make] INFO - cargo make 0.37.18 [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.17 +[cargo-make] INFO - cargo make 0.37.18 [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.17 +[cargo-make] INFO - cargo make 0.37.18 [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.17 +[cargo-make] INFO - cargo make 0.37.18 [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.17 +[cargo-make] INFO - cargo make 0.37.18 [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.17 +[cargo-make] INFO - cargo make 0.37.18 [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.17 +[cargo-make] INFO - cargo make 0.37.18 [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.17 +[cargo-make] INFO - cargo make 0.37.18 [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.17 +[cargo-make] INFO - cargo make 0.37.18 [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.17 +[cargo-make] INFO - cargo make 0.37.18 [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.17 +[cargo-make] INFO - cargo make 0.37.18 [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.17 +[cargo-make] INFO - cargo make 0.37.18 [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.17 +[cargo-make] INFO - cargo make 0.37.18 [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.17 +[cargo-make] INFO - cargo make 0.37.18 [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.17 +[cargo-make] INFO - cargo make 0.37.18 [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.17 +[cargo-make] INFO - cargo make 0.37.18 [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.17 +[cargo-make] INFO - cargo make 0.37.18 [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.17 +[cargo-make] INFO - cargo make 0.37.18 [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.17 +[cargo-make] INFO - cargo make 0.37.18 [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.17 +[cargo-make] INFO - cargo make 0.37.18 [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.17 +[cargo-make] INFO - cargo make 0.37.18 [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.17 +[cargo-make] INFO - cargo make 0.37.18 [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.17 +[cargo-make] INFO - cargo make 0.37.18 [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.17" +min_version = "0.37.18" ``` @@ -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.17 +[cargo-make] INFO - cargo make 0.37.18 [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 194978af..2690d3a0 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.17 +version: 0.37.18 diff --git a/docs/api/cargo_make/all.html b/docs/api/cargo_make/all.html index 72cc7225..a51a66d9 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 45e32a1f..0c54d4a6 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 bb5f626e..197df1b0 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 a6d086fd..f6b56c8b 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 09885e6e..6f863a04 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 e0191860..0b9bc8ca 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 b7a75810..8c60c269 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 abb900e8..4a65b36f 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 425ed2d4..5ea804e1 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 1d7bdd9b..d163bec0 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 06e955d1..353d3cc0 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 2fb672c4..04ac8ba0 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 a220e677..ec0a0388 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 e5f80d29..5f998be5 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 031cae1c..20c88704 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 962c9d21..b80816c1 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 d1506c1a..8946894c 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 4a9a138b..e6e83960 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 47bfaf22..f575a024 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 42ee23a2..f3faff70 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 3c88b1a9..54e19cda 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 ea3f742d..c439ecb7 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 30e4d446..e9cf37cc 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 013142ff..e953700e 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 6a0d9351..432fadab 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 dbd76076..bdeb5681 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 66457c95..fc4f019e 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 95c2f7f0..9c65f0e0 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 b2916ba5..24785bce 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 2a6f4e99..2e812a2f 100644 --- a/docs/api/cli/logger/struct.LoggerOptions.html +++ b/docs/api/cli/logger/struct.LoggerOptions.html @@ -1,9 +1,9 @@ -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,
 }
Expand description

The logger options used to initialize the logger

-

Fields§

§name: String

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

+

Fields§

§name: String

Name to prefix each log message

§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 diff --git a/docs/api/cli/runner/fn.run.html b/docs/api/cli/runner/fn.run.html index d16fe072..166036c7 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 787264a1..c5a1608c 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: