Skip to content

Commit

Permalink
window fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
sagiegurari committed Jun 25, 2017
1 parent fb2921e commit afd42f4
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
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.2.4"
version = "0.2.5"
authors = ["Sagie Gur-Ari <[email protected]>"]
description = "Rust task runner and build tool."
license = "Apache-2.0"
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -414,7 +414,7 @@ See [contributing guide](.github/CONTRIBUTING.md)

| Date | Version | Description |
| ----------- | ------- | ----------- |
| 2017-06-25 | v0.2.4 | More tests |
| 2017-06-25 | v0.2.5 | More tests |
| 2017-06-25 | v0.2.3 | Added disabled task attribute support |
| 2017-06-24 | v0.2.0 | Internal fixes (renamed dependencies attribute) |
| 2017-06-24 | v0.1.2 | Print build time, added internal docs, unit tests and coverage |
Expand Down
4 changes: 2 additions & 2 deletions docs/api/src/cargo_make/command.rs.html
Original file line number Diff line number Diff line change
Expand Up @@ -377,13 +377,13 @@
}

<span class="kw">let</span> <span class="ident">command</span> <span class="op">=</span> <span class="kw">if</span> <span class="macro">cfg</span><span class="macro">!</span>(<span class="ident">windows</span>) {
<span class="string">&quot;cmd&quot;</span>
<span class="string">&quot;cmd.exe&quot;</span>
} <span class="kw">else</span> {
<span class="string">&quot;sh&quot;</span>
};

<span class="kw">let</span> <span class="ident">args_vector</span> <span class="op">=</span> <span class="kw">if</span> <span class="macro">cfg</span><span class="macro">!</span>(<span class="ident">windows</span>) {
<span class="macro">vec</span><span class="macro">!</span>[<span class="string">&quot;-c&quot;</span>.<span class="ident">to_string</span>(), <span class="ident">file_path_str</span>.<span class="ident">to_string</span>()]
<span class="macro">vec</span><span class="macro">!</span>[<span class="string">&quot;/C&quot;</span>.<span class="ident">to_string</span>(), <span class="ident">file_path_str</span>.<span class="ident">to_string</span>()]
} <span class="kw">else</span> {
<span class="macro">vec</span><span class="macro">!</span>[<span class="ident">file_path_str</span>.<span class="ident">to_string</span>()]
};
Expand Down

0 comments on commit afd42f4

Please sign in to comment.