diff --git a/.buildnumber b/.buildnumber index aebfaa17..58e77f35 100644 --- a/.buildnumber +++ b/.buildnumber @@ -1 +1 @@ -214 \ No newline at end of file +215 \ No newline at end of file diff --git a/.github/CONTRIBUTING.md b/.github/CONTRIBUTING.md index 47a2b712..ee9299ed 100755 --- a/.github/CONTRIBUTING.md +++ b/.github/CONTRIBUTING.md @@ -24,6 +24,7 @@ cargo make ci-flow * There are many automatic unit tests as part of the library which provide full coverage of the functionality.
Any fix/enhancement must come with a set of tests to ensure it's working well. * _For Windows users_: Few windows specific tests run powershell scripts via cargo-make to test powershell support. For those tests to pass, you need to allow to run PowerShell scripts (see [About Execution Policies](https:/go.microsoft.com/fwlink/?LinkID=135170) for more info). Run in PS: + ```ps Set-ExecutionPolicy -ExecutionPolicy Unrestricted -Scope CurrentUser ``` diff --git a/CHANGELOG.md b/CHANGELOG.md index 9c0aefdc..e28f8c7f 100755 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,6 @@ ## CHANGELOG -### v0.32.15 +### v0.32.15 (2021-03-29) * Fix: makers color support on windows #535 (thanks @MartinKavik) * Enhancement: Allow leading hyphens for task arguments #535 (thanks @MartinKavik) diff --git a/Cargo.toml b/Cargo.toml index 476504ca..55444ee2 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "cargo-make" -version = "0.32.14" +version = "0.32.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 ce7bca30..aedcd12f 100644 --- a/README.md +++ b/README.md @@ -202,7 +202,7 @@ cargo make --makefile simple-example.toml my-flow The output would look something like this: ```console -[cargo-make] INFO - cargo make 0.32.14 +[cargo-make] INFO - cargo make 0.32.15 [cargo-make] INFO - Build File: simple-example.toml [cargo-make] INFO - Task: my-flow [cargo-make] INFO - Setting Up Env. @@ -614,7 +614,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.32.14 +[cargo-make] INFO - cargo make 0.32.15 [cargo-make] INFO - Build File: Makefile.toml [cargo-make] INFO - Task: varargs [cargo-make] INFO - Setting Up Env. @@ -631,7 +631,7 @@ Invoking cargo-make without any additional arguments would result in the followi ```console > cargo make varargs -[cargo-make] INFO - cargo make 0.32.14 +[cargo-make] INFO - cargo make 0.32.15 [cargo-make] INFO - Build File: Makefile.toml [cargo-make] INFO - Task: varargs [cargo-make] INFO - Setting Up Env. @@ -658,7 +658,7 @@ Would output: ```console > cargo make varargs arg1 arg2 arg3 -[cargo-make] INFO - cargo make 0.32.14 +[cargo-make] INFO - cargo make 0.32.15 [cargo-make] INFO - Build File: Makefile.toml [cargo-make] INFO - Task: varargs [cargo-make] INFO - Setting Up Env. @@ -709,7 +709,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.32.14 +[cargo-make] INFO - cargo make 0.32.15 [cargo-make] INFO - Build File: Makefile.toml [cargo-make] INFO - Task: cli-args [cargo-make] INFO - Setting Up Env. @@ -726,7 +726,7 @@ Invoking cargo-make without any additional arguments would result in the followi ```console > cargo make cli-args -[cargo-make] INFO - cargo make 0.32.14 +[cargo-make] INFO - cargo make 0.32.15 [cargo-make] INFO - Build File: Makefile.toml [cargo-make] INFO - Task: cli-args [cargo-make] INFO - Setting Up Env. @@ -987,7 +987,7 @@ Output: ```console > cargo make --cwd ./examples --makefile ./shebang.toml shebang-sh -[cargo-make] INFO - cargo make 0.32.14 +[cargo-make] INFO - cargo make 0.32.15 [cargo-make] INFO - Build File: ./shebang.toml [cargo-make] INFO - Task: shebang-sh [cargo-make] INFO - Profile: development @@ -1014,7 +1014,7 @@ Output: ```console > cargo make --cwd ./examples --makefile ./shebang.toml shebang-python -[cargo-make] INFO - cargo make 0.32.14 +[cargo-make] INFO - cargo make 0.32.15 [cargo-make] INFO - Build File: ./shebang.toml [cargo-make] INFO - Task: shebang-python [cargo-make] INFO - Profile: development @@ -1300,7 +1300,7 @@ args = ["3"] We run task **3** the output would be: ```console -[cargo-make] INFO - cargo make 0.32.14 +[cargo-make] INFO - cargo make 0.32.15 [cargo-make] INFO - Build File: task_extend.toml [cargo-make] INFO - Task: 3 [cargo-make] INFO - Profile: development @@ -2268,7 +2268,7 @@ cargo make --cwd ./examples --makefile profile.toml --profile production echo Output: ```console -[cargo-make] INFO - cargo make 0.32.14 +[cargo-make] INFO - cargo make 0.32.15 [cargo-make] INFO - Build File: profile.toml [cargo-make] INFO - Task: echo [cargo-make] INFO - Profile: production @@ -2388,7 +2388,7 @@ deprecated = true When invoking **legacy** task for example, the output is: ```console -[cargo-make] INFO - cargo make 0.32.14 +[cargo-make] INFO - cargo make 0.32.15 [cargo-make] INFO - Build File: deprecated.toml [cargo-make] INFO - Task: legacy [cargo-make] INFO - Profile: development @@ -2429,7 +2429,7 @@ watch = true Below is a sample output of invoking the task: ```console -[cargo-make] INFO - cargo make 0.32.14 +[cargo-make] INFO - cargo make 0.32.15 [cargo-make] INFO - Build File: ./examples/watch.toml [cargo-make] INFO - Task: watch-example [cargo-make] INFO - Setting Up Env. @@ -2437,7 +2437,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.32.14 +[cargo-make] INFO - cargo make 0.32.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. @@ -2507,7 +2507,7 @@ args = ["${MULTIPLE_VALUES}"] ```console > cargo make --cwd ./examples --makefile functions.toml split -[cargo-make] INFO - cargo make 0.32.14 +[cargo-make] INFO - cargo make 0.32.15 [cargo-make] INFO - Build File: functions.toml [cargo-make] INFO - Task: split [cargo-make] INFO - Profile: development @@ -2519,7 +2519,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.32.14 +[cargo-make] INFO - cargo make 0.32.15 [cargo-make] INFO - Build File: functions.toml [cargo-make] INFO - Task: no-split [cargo-make] INFO - Profile: development @@ -2554,7 +2554,7 @@ args = ["@@getat(MULTIPLE_VALUES,|,3)"] ```console > cargo make --cwd ./examples --makefile functions.toml getat -[cargo-make] INFO - cargo make 0.32.14 +[cargo-make] INFO - cargo make 0.32.15 [cargo-make] INFO - Build File: functions.toml [cargo-make] INFO - Task: getat [cargo-make] INFO - Profile: development @@ -2581,7 +2581,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.32.14 +[cargo-make] INFO - cargo make 0.32.15 [cargo-make] INFO - Build File: functions.toml [cargo-make] INFO - Task: remove-empty [cargo-make] INFO - Profile: development @@ -2614,7 +2614,7 @@ args = ["@@trim(TRIM_VALUE)"] ```console > cargo make --cwd ./examples --makefile functions.toml remove-empty -[cargo-make] INFO - cargo make 0.32.14 +[cargo-make] INFO - cargo make 0.32.15 [cargo-make] INFO - Build File: functions.toml [cargo-make] INFO - Task: trim [cargo-make] INFO - Profile: development @@ -2643,7 +2643,7 @@ args = ["@@trim(TRIM_VALUE,end)"] ```console > cargo make --cwd ./examples --makefile functions.toml trim-start -[cargo-make] INFO - cargo make 0.32.14 +[cargo-make] INFO - cargo make 0.32.15 [cargo-make] INFO - Build File: functions.toml [cargo-make] INFO - Task: trim-start [cargo-make] INFO - Profile: development @@ -2655,7 +2655,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.32.14 +[cargo-make] INFO - cargo make 0.32.15 [cargo-make] INFO - Build File: functions.toml [cargo-make] INFO - Task: trim-end [cargo-make] INFO - Profile: development @@ -2693,7 +2693,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.32.14 +[cargo-make] INFO - cargo make 0.32.15 [cargo-make] INFO - Build File: functions.toml [cargo-make] INFO - Task: decode [cargo-make] INFO - Profile: development @@ -2709,7 +2709,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.32.14 +[cargo-make] INFO - cargo make 0.32.15 [cargo-make] INFO - Build File: functions.toml [cargo-make] INFO - Task: decode [cargo-make] INFO - Profile: development @@ -2734,7 +2734,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.32.14 +[cargo-make] INFO - cargo make 0.32.15 [cargo-make] INFO - Build File: functions.toml [cargo-make] INFO - Task: decode-with-default [cargo-make] INFO - Profile: development @@ -2758,7 +2758,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.32.14 +[cargo-make] INFO - cargo make 0.32.15 [cargo-make] INFO - Build File: functions.toml [cargo-make] INFO - Task: decode-with-eval [cargo-make] INFO - Profile: development @@ -3127,7 +3127,7 @@ In order to specify the minimal version, use the **min_version** in the config s ```toml [config] -min_version = "0.32.14" +min_version = "0.32.15" ``` @@ -3138,7 +3138,7 @@ Example Usage: ```console cargo make --diff-steps --makefile ./examples/override_core.toml post-build -[cargo-make] INFO - cargo make 0.32.14 +[cargo-make] INFO - cargo make 0.32.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 d209307c..092dcd5e 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.32.14 +version: 0.32.15 diff --git a/docs/api/cargo_make/all.html b/docs/api/cargo_make/all.html index 0d9e09d7..8f2d129a 100644 --- a/docs/api/cargo_make/all.html +++ b/docs/api/cargo_make/all.html @@ -1,6 +1,6 @@ List of all items in this crate -