Skip to content

Commit 7d992b4

Browse files
authored
Merge pull request #76 from xt0rted/system-commandline-update
Bump System.CommandLine from 2.0.0-beta3.22114.1 to 2.0.0-beta4.22272.1
2 parents 248a56a + e65f2c6 commit 7d992b4

File tree

4 files changed

+34
-10
lines changed

4 files changed

+34
-10
lines changed

.markdownlint.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
{
2+
"MD013": false,
3+
"MD024": false
4+
}

CHANGELOG.md

Lines changed: 25 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -2,23 +2,40 @@
22

33
## Unreleased
44

5-
- added: Ability to run multiple scripts in a single call (e.g. `dotnet r build test pack`)
5+
### Added
6+
7+
- Ability to run multiple scripts in a single call (e.g. `dotnet r build test pack`) ([#10](https://github.com/xt0rted/dotnet-run-script/pull/10))
8+
9+
### Updated
10+
11+
- Bumped `System.CommandLine` from 2.0.0-beta3.22114.1 to 2.0.0-beta4.22272.1
12+
- Bumped `System.CommandLine.Rendering` from 0.4.0-alpha.22114.1 to 0.4.0-alpha.22272.1
613

714
## [0.3.0](https://github.com/xt0rted/dotnet-run-script/compare/v0.2.0...v0.3.0) - 2022-04-24
815

9-
- fixed: Don't escape the script passed to `cmd.exe`, just the double dash arguments
16+
### Fixed
17+
18+
- Don't escape the script passed to `cmd.exe`, just the double dash arguments
1019

1120
## [0.2.0](https://github.com/xt0rted/dotnet-run-script/compare/v0.1.0...v0.2.0) - 2022-04-23
1221

1322
> ℹ️ This version broke conditional script execution (`cmd1 && cmd2`) in `cmd.exe`
1423
15-
- added: Force color output with the `DOTNET_SYSTEM_CONSOLE_ALLOW_ANSI_COLOR_REDIRECTION` environment variable.
24+
### Added
25+
26+
- Force color output with the `DOTNET_SYSTEM_CONSOLE_ALLOW_ANSI_COLOR_REDIRECTION` environment variable.
1627
- Note: this tool with output color on all platforms including when output is redirected, but the dotnet cli only supports this on Unix platforms currently. This means script results might not be colored in places like GitHub Actions build logs when using the Windows VMs.
17-
- added: Added `-v` alias to enable verbose output.
18-
- fixed: Escape arguments for non-cmd shells
19-
- fixed: Quote additional arguments passed after `--`
20-
- fixed: Escape scripts with `^` passed to `cmd.exe`
21-
- updated: Switched from [actions/setup-dotnet](https://github.com/actions/setup-dotnet) to [xt0rted/setup-dotnet](https://github.com/xt0rted/setup-dotnet)
28+
- Added `-v` alias to enable verbose output.
29+
30+
### Fixed
31+
32+
- Escape arguments for non-cmd shells
33+
- Quote additional arguments passed after `--`
34+
- Escape scripts with `^` passed to `cmd.exe`
35+
36+
### Updated
37+
38+
- Switched from [actions/setup-dotnet](https://github.com/actions/setup-dotnet) to [xt0rted/setup-dotnet](https://github.com/xt0rted/setup-dotnet)
2239

2340
## [0.1.0](https://github.com/xt0rted/dotnet-run-script/releases/tag/v0.1.0) - 2022-03-26
2441

src/RunScriptCommand.cs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,9 @@ internal RunScriptCommand(
3030
Handler = this;
3131
}
3232

33+
public int Invoke(InvocationContext context)
34+
=> throw new NotImplementedException();
35+
3336
public async Task<int> InvokeAsync(InvocationContext context)
3437
{
3538
if (context is null) throw new ArgumentNullException(nameof(context));

src/run-script.csproj

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,8 +50,8 @@
5050
<IncludeAssets>runtime; build; native; contentfiles; analyzers</IncludeAssets>
5151
<PrivateAssets>all</PrivateAssets>
5252
</PackageReference>
53-
<PackageReference Include="System.CommandLine" Version="2.0.0-beta3.22114.1" />
54-
<PackageReference Include="System.CommandLine.Rendering" Version="0.4.0-alpha.22114.1" />
53+
<PackageReference Include="System.CommandLine" Version="2.0.0-beta4.22272.1" />
54+
<PackageReference Include="System.CommandLine.Rendering" Version="0.4.0-alpha.22272.1" />
5555
</ItemGroup>
5656

5757
</Project>

0 commit comments

Comments
 (0)