Skip to content

Commit

Permalink
release
Browse files Browse the repository at this point in the history
  • Loading branch information
sagiegurari committed Oct 22, 2021
1 parent 4d96597 commit dfec5fd
Show file tree
Hide file tree
Showing 12 changed files with 55 additions and 52 deletions.
2 changes: 1 addition & 1 deletion .buildnumber
Original file line number Diff line number Diff line change
@@ -1 +1 @@
222
223
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
## CHANGELOG

### v0.35.3
### v0.35.3 (2021-10-22)

* Enhancement: Task cli arguments matching cargo-make cli args can now be passed without -- character #585 (thanks @WorldSEnder)

Expand Down
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "cargo-make"
version = "0.35.2"
version = "0.35.3"
authors = ["Sagie Gur-Ari <sagiegurari@gmail.com>"]
description = "Rust task runner and build tool."
license = "Apache-2.0"
Expand Down
59 changes: 29 additions & 30 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -205,7 +205,7 @@ cargo make --makefile simple-example.toml my-flow
The output would look something like this:

```console
[cargo-make] INFO - cargo make 0.35.2
[cargo-make] INFO - cargo make 0.35.3
[cargo-make] INFO - Build File: simple-example.toml
[cargo-make] INFO - Task: my-flow
[cargo-make] INFO - Setting Up Env.
Expand Down Expand Up @@ -617,7 +617,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.35.2
[cargo-make] INFO - cargo make 0.35.3
[cargo-make] INFO - Build File: Makefile.toml
[cargo-make] INFO - Task: varargs
[cargo-make] INFO - Setting Up Env.
Expand All @@ -634,7 +634,7 @@ Invoking cargo-make without any additional arguments would result in the followi
```console
> cargo make varargs

[cargo-make] INFO - cargo make 0.35.2
[cargo-make] INFO - cargo make 0.35.3
[cargo-make] INFO - Build File: Makefile.toml
[cargo-make] INFO - Task: varargs
[cargo-make] INFO - Setting Up Env.
Expand All @@ -661,7 +661,7 @@ Would output:
```console
> cargo make varargs arg1 arg2 arg3

[cargo-make] INFO - cargo make 0.35.2
[cargo-make] INFO - cargo make 0.35.3
[cargo-make] INFO - Build File: Makefile.toml
[cargo-make] INFO - Task: varargs
[cargo-make] INFO - Setting Up Env.
Expand Down Expand Up @@ -712,7 +712,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.35.2
[cargo-make] INFO - cargo make 0.35.3
[cargo-make] INFO - Build File: Makefile.toml
[cargo-make] INFO - Task: cli-args
[cargo-make] INFO - Setting Up Env.
Expand All @@ -729,7 +729,7 @@ Invoking cargo-make without any additional arguments would result in the followi
```console
> cargo make cli-args

[cargo-make] INFO - cargo make 0.35.2
[cargo-make] INFO - cargo make 0.35.3
[cargo-make] INFO - Build File: Makefile.toml
[cargo-make] INFO - Task: cli-args
[cargo-make] INFO - Setting Up Env.
Expand Down Expand Up @@ -990,7 +990,7 @@ Output:

```console
> cargo make --cwd ./examples --makefile ./shebang.toml shebang-sh
[cargo-make] INFO - cargo make 0.35.2
[cargo-make] INFO - cargo make 0.35.3
[cargo-make] INFO - Build File: ./shebang.toml
[cargo-make] INFO - Task: shebang-sh
[cargo-make] INFO - Profile: development
Expand All @@ -1017,7 +1017,7 @@ Output:

```console
> cargo make --cwd ./examples --makefile ./shebang.toml shebang-python
[cargo-make] INFO - cargo make 0.35.2
[cargo-make] INFO - cargo make 0.35.3
[cargo-make] INFO - Build File: ./shebang.toml
[cargo-make] INFO - Task: shebang-python
[cargo-make] INFO - Profile: development
Expand Down Expand Up @@ -1311,7 +1311,7 @@ args = ["3"]
We run task **3** the output would be:

```console
[cargo-make] INFO - cargo make 0.35.2
[cargo-make] INFO - cargo make 0.35.3
[cargo-make] INFO - Build File: task_extend.toml
[cargo-make] INFO - Task: 3
[cargo-make] INFO - Profile: development
Expand Down Expand Up @@ -2317,7 +2317,7 @@ cargo make --cwd ./examples --makefile profile.toml --profile production echo
Output:

```console
[cargo-make] INFO - cargo make 0.35.2
[cargo-make] INFO - cargo make 0.35.3
[cargo-make] INFO - Build File: profile.toml
[cargo-make] INFO - Task: echo
[cargo-make] INFO - Profile: production
Expand Down Expand Up @@ -2437,7 +2437,7 @@ deprecated = true
When invoking **legacy** task for example, the output is:

```console
[cargo-make] INFO - cargo make 0.35.2
[cargo-make] INFO - cargo make 0.35.3
[cargo-make] INFO - Build File: deprecated.toml
[cargo-make] INFO - Task: legacy
[cargo-make] INFO - Profile: development
Expand Down Expand Up @@ -2478,15 +2478,15 @@ watch = true
Below is a sample output of invoking the task:

```console
[cargo-make] INFO - cargo make 0.35.2
[cargo-make] INFO - cargo make 0.35.3
[cargo-make] INFO - Build File: ./examples/watch.toml
[cargo-make] INFO - Task: watch-example
[cargo-make] INFO - Setting Up Env.
[cargo-make] INFO - Running Task: init
[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.35.2
[cargo-make] INFO - cargo make 0.35.3
[cargo-make] INFO - Build File: /projects/rust/cargo-make/examples/watch.toml
[cargo-make] INFO - Task: watch-example
[cargo-make] INFO - Setting Up Env.
Expand Down Expand Up @@ -2556,7 +2556,7 @@ args = ["${MULTIPLE_VALUES}"]

```console
> cargo make --cwd ./examples --makefile functions.toml split
[cargo-make] INFO - cargo make 0.35.2
[cargo-make] INFO - cargo make 0.35.3
[cargo-make] INFO - Build File: functions.toml
[cargo-make] INFO - Task: split
[cargo-make] INFO - Profile: development
Expand All @@ -2568,7 +2568,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.35.2
[cargo-make] INFO - cargo make 0.35.3
[cargo-make] INFO - Build File: functions.toml
[cargo-make] INFO - Task: no-split
[cargo-make] INFO - Profile: development
Expand Down Expand Up @@ -2603,7 +2603,7 @@ args = ["@@getat(MULTIPLE_VALUES,|,3)"]

```console
> cargo make --cwd ./examples --makefile functions.toml getat
[cargo-make] INFO - cargo make 0.35.2
[cargo-make] INFO - cargo make 0.35.3
[cargo-make] INFO - Build File: functions.toml
[cargo-make] INFO - Task: getat
[cargo-make] INFO - Profile: development
Expand All @@ -2630,7 +2630,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.35.2
[cargo-make] INFO - cargo make 0.35.3
[cargo-make] INFO - Build File: functions.toml
[cargo-make] INFO - Task: remove-empty
[cargo-make] INFO - Profile: development
Expand Down Expand Up @@ -2663,7 +2663,7 @@ args = ["@@trim(TRIM_VALUE)"]

```console
> cargo make --cwd ./examples --makefile functions.toml remove-empty
[cargo-make] INFO - cargo make 0.35.2
[cargo-make] INFO - cargo make 0.35.3
[cargo-make] INFO - Build File: functions.toml
[cargo-make] INFO - Task: trim
[cargo-make] INFO - Profile: development
Expand Down Expand Up @@ -2692,7 +2692,7 @@ args = ["@@trim(TRIM_VALUE,end)"]

```console
> cargo make --cwd ./examples --makefile functions.toml trim-start
[cargo-make] INFO - cargo make 0.35.2
[cargo-make] INFO - cargo make 0.35.3
[cargo-make] INFO - Build File: functions.toml
[cargo-make] INFO - Task: trim-start
[cargo-make] INFO - Profile: development
Expand All @@ -2704,7 +2704,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.35.2
[cargo-make] INFO - cargo make 0.35.3
[cargo-make] INFO - Build File: functions.toml
[cargo-make] INFO - Task: trim-end
[cargo-make] INFO - Profile: development
Expand Down Expand Up @@ -2742,7 +2742,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.35.2
[cargo-make] INFO - cargo make 0.35.3
[cargo-make] INFO - Build File: functions.toml
[cargo-make] INFO - Task: decode
[cargo-make] INFO - Profile: development
Expand All @@ -2758,7 +2758,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.35.2
[cargo-make] INFO - cargo make 0.35.3
[cargo-make] INFO - Build File: functions.toml
[cargo-make] INFO - Task: decode
[cargo-make] INFO - Profile: development
Expand All @@ -2783,7 +2783,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.35.2
[cargo-make] INFO - cargo make 0.35.3
[cargo-make] INFO - Build File: functions.toml
[cargo-make] INFO - Task: decode-with-default
[cargo-make] INFO - Profile: development
Expand All @@ -2807,7 +2807,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.35.2
[cargo-make] INFO - cargo make 0.35.3
[cargo-make] INFO - Build File: functions.toml
[cargo-make] INFO - Task: decode-with-eval
[cargo-make] INFO - Profile: development
Expand Down Expand Up @@ -3176,7 +3176,7 @@ In order to specify the minimal version, use the **min_version** in the config s

```toml
[config]
min_version = "0.35.2"
min_version = "0.35.3"
```

<a name="usage-performance-tuning"></a>
Expand Down Expand Up @@ -3208,7 +3208,7 @@ Example Usage:

```console
cargo make --diff-steps --makefile ./examples/override_core.toml post-build
[cargo-make] INFO - cargo make 0.35.2
[cargo-make] INFO - cargo make 0.35.3
[cargo-make] INFO - Build File: ./examples/override_core.toml
[cargo-make] INFO - Task: post-build
[cargo-make] INFO - Setting Up Env.
Expand Down Expand Up @@ -3240,9 +3240,9 @@ These are the following options available while running cargo-make:

```console
USAGE:
cargo make [FLAGS] [OPTIONS] [--] [ARGS]
cargo make [FLAGS] [OPTIONS] [--] [TASK_CMD]...
OR
makers [FLAGS] [OPTIONS] [--] [ARGS]
makers [FLAGS] [OPTIONS] [--] [TASK_CMD]...
FLAGS:
--allow-private Allow invocation of private tasks
Expand Down Expand Up @@ -3273,8 +3273,7 @@ OPTIONS:
-t, --task <TASK> The task name to execute (can omit the flag if the task name is the last argument) [default: default]
ARGS:
<TASK> The task name to execute
<TASK_ARGS>... Task arguments which can be accessed in the task itself.
<TASK_CMD>... The task to execute, potentially including arguments which can be accessed in the task itself.
```

<a name="usage-shell-completion"></a>
Expand Down
2 changes: 1 addition & 1 deletion docs/_config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@ theme: jekyll-theme-cayman
title: cargo-make
description: Rust task runner and build tool.
show_downloads: false
version: 0.35.2
version: 0.35.3
2 changes: 1 addition & 1 deletion docs/api/cargo_make/all.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width, initial-scale=1.0"><meta name="generator" content="rustdoc"><meta name="description" content="List of all items in this crate"><meta name="keywords" content="rust, rustlang, rust-lang"><title>List of all items in this crate</title><link rel="stylesheet" type="text/css" href="../normalize.css"><link rel="stylesheet" type="text/css" href="../rustdoc.css" id="mainThemeStyle"><link rel="stylesheet" type="text/css" href="../light.css" id="themeStyle"><link rel="stylesheet" type="text/css" href="../dark.css" disabled ><link rel="stylesheet" type="text/css" href="../ayu.css" disabled ><script id="default-settings" ></script><script src="../storage.js"></script><script src="../crates.js"></script><noscript><link rel="stylesheet" href="../noscript.css"></noscript><link rel="icon" type="image/svg+xml" href="../favicon.svg"><link rel="alternate icon" type="image/png" href="../favicon-16x16.png"><link rel="alternate icon" type="image/png" href="../favicon-32x32.png"><style type="text/css">#crate-search{background-image:url("../down-arrow.svg");}</style></head><body class="rustdoc mod"><!--[if lte IE 11]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><nav class="sidebar"><div class="sidebar-menu" role="button">&#9776;</div><a href='../cargo_make/index.html'><div class='logo-container rust-logo'><img src='../rust-logo.png' alt='logo'></div></a><h2 class="location">Crate cargo_make</h2><div class="block version"><p>Version 0.35.2</p></div><a id="all-types" href="index.html"><p>Back to index</p></a></nav><div class="theme-picker"><button id="theme-picker" aria-label="Pick another theme!" aria-haspopup="menu" title="themes"><img width="18" height="18" alt="Pick another theme!" src="../brush.svg"></button><div id="theme-choices" role="menu"></div></div><nav class="sub"><form class="search-form"><div class="search-container"><div><select id="crate-search"><option value="All crates">All crates</option></select><input class="search-input"name="search" disabled autocomplete="off" spellcheck="false" placeholder="Click or press ‘S’ to search, ‘?’ for more options…" type="search"></div><button type="button" id="help-button" title="help">?</button><a id="settings-menu" href="../settings.html" title="settings"><img width="18" height="18" alt="Change settings" src="../wheel.svg"></a></div></form></nav><section id="main" class="content"><h1 class="fqn"><span class="in-band">List of all items</span><span class="out-of-band"><span id="render-detail"><a id="toggle-all-docs" href="javascript:void(0)" title="collapse all docs">[<span class="inner">&#x2212;</span>]</a></span>
<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width, initial-scale=1.0"><meta name="generator" content="rustdoc"><meta name="description" content="List of all items in this crate"><meta name="keywords" content="rust, rustlang, rust-lang"><title>List of all items in this crate</title><link rel="stylesheet" type="text/css" href="../normalize.css"><link rel="stylesheet" type="text/css" href="../rustdoc.css" id="mainThemeStyle"><link rel="stylesheet" type="text/css" href="../light.css" id="themeStyle"><link rel="stylesheet" type="text/css" href="../dark.css" disabled ><link rel="stylesheet" type="text/css" href="../ayu.css" disabled ><script id="default-settings" ></script><script src="../storage.js"></script><script src="../crates.js"></script><noscript><link rel="stylesheet" href="../noscript.css"></noscript><link rel="icon" type="image/svg+xml" href="../favicon.svg"><link rel="alternate icon" type="image/png" href="../favicon-16x16.png"><link rel="alternate icon" type="image/png" href="../favicon-32x32.png"><style type="text/css">#crate-search{background-image:url("../down-arrow.svg");}</style></head><body class="rustdoc mod"><!--[if lte IE 11]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><nav class="sidebar"><div class="sidebar-menu" role="button">&#9776;</div><a href='../cargo_make/index.html'><div class='logo-container rust-logo'><img src='../rust-logo.png' alt='logo'></div></a><h2 class="location">Crate cargo_make</h2><div class="block version"><p>Version 0.35.3</p></div><a id="all-types" href="index.html"><p>Back to index</p></a></nav><div class="theme-picker"><button id="theme-picker" aria-label="Pick another theme!" aria-haspopup="menu" title="themes"><img width="18" height="18" alt="Pick another theme!" src="../brush.svg"></button><div id="theme-choices" role="menu"></div></div><nav class="sub"><form class="search-form"><div class="search-container"><div><select id="crate-search"><option value="All crates">All crates</option></select><input class="search-input"name="search" disabled autocomplete="off" spellcheck="false" placeholder="Click or press ‘S’ to search, ‘?’ for more options…" type="search"></div><button type="button" id="help-button" title="help">?</button><a id="settings-menu" href="../settings.html" title="settings"><img width="18" height="18" alt="Change settings" src="../wheel.svg"></a></div></form></nav><section id="main" class="content"><h1 class="fqn"><span class="in-band">List of all items</span><span class="out-of-band"><span id="render-detail"><a id="toggle-all-docs" href="javascript:void(0)" title="collapse all docs">[<span class="inner">&#x2212;</span>]</a></span>
</span>
</h1><h3 id="Functions">Functions</h3><ul class="functions docblock"><li><a href="fn.get_name.html">get_name</a></li><li><a href="fn.main.html">main</a></li></ul></section><section id="search" class="content hidden"></section><div id="rustdoc-vars" data-root-path="../" data-current-crate="cargo_make" data-search-index-js="../search-index.js" data-search-js="../search.js"></div>
<script src="../main.js"></script>
Expand Down
Loading

0 comments on commit dfec5fd

Please sign in to comment.