Skip to content

Commit 37053e6

Browse files
committed
Release v4.11.4.0
CLI - Added -csproj custom command - improved shim detection for Scoop installations CSScriptLib - no changes
1 parent 015a054 commit 37053e6

File tree

9 files changed

+255
-168
lines changed

9 files changed

+255
-168
lines changed

help.txt

Lines changed: 215 additions & 125 deletions
Large diffs are not rendered by default.

src/CSScriptLib/src/CSScriptLib/CSScriptLib.csproj

Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
1616
<SymbolPackageFormat>snupkg</SymbolPackageFormat>
1717
<GeneratePackageOnBuild>true</GeneratePackageOnBuild>
18-
<Version>4.11.3.0</Version>
18+
<Version>4.11.4.0</Version>
1919
<Authors>Oleg Shilo</Authors>
2020
<Description>CS-Script engine Class Library for .NET 5 (and higher)</Description>
2121
<Copyright>(C) 2018-2023 Oleg Shilo</Copyright>
@@ -30,16 +30,15 @@
3030
## Changes
3131

3232
### CLI
33-
- CS-Script config file is moved to JSON format (custom XML config files are still supported)
34-
- For system wide (global) installation of CS-Script, its config file location is changed to: `%Environment.SpecialFolder.CommonApplicationData%/cs-script/css_config.json`)
35-
- Added `-csproj` custom command
33+
- Added -csproj custom command
34+
- improved shim detection for Scoop installations
3635

3736
### CSScriptLib
38-
- no changes</PackageReleaseNotes>
37+
- no changes</PackageReleaseNotes>
3938
<PackageRequireLicenseAcceptance>true</PackageRequireLicenseAcceptance>
40-
<AssemblyVersion>4.11.3.0</AssemblyVersion>
41-
<FileVersion>4.11.3.0</FileVersion>
42-
<PackageVersion>4.11.3.0</PackageVersion>
39+
<AssemblyVersion>4.11.4.0</AssemblyVersion>
40+
<FileVersion>4.11.4.0</FileVersion>
41+
<PackageVersion>4.11.4.0</PackageVersion>
4342
<PackageLicenseExpression>MIT</PackageLicenseExpression>
4443
<PackageIcon>css_logo.png</PackageIcon>
4544
<SignAssembly>True</SignAssembly>

src/chocolatey/cs-script.nuspec

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
<package xmlns="http://schemas.microsoft.com/packaging/2011/08/nuspec.xsd">
33
<metadata>
44
<id>cs-script</id>
5-
<version>4.11.3.0</version>
5+
<version>4.11.4.0</version>
66
<title>CS-Script</title>
77
<authors>Oleg Shilo</authors>
88
<owners>Oleg Shilo</owners>
@@ -29,12 +29,11 @@
2929
## Changes
3030

3131
### CLI
32-
- CS-Script config file is moved to JSON format (custom XML config files are still supported)
33-
- For system wide (global) installation of CS-Script, its config file location is changed to: `%Environment.SpecialFolder.CommonApplicationData%/cs-script/css_config.json`)
34-
- Added `-csproj` custom command
32+
- Added -csproj custom command
33+
- improved shim detection for Scoop installations
3534

3635
### CSScriptLib
37-
- no changes</releaseNotes>
36+
- no changes</releaseNotes>
3837
<copyright>Oleg Shilo</copyright>
3938
<tags>cs-script C# script dynamic hosting</tags>
4039
<dependencies>

src/cscs/HelpProvider.cs

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -383,12 +383,13 @@ static AppArgs()
383383
"after the `<script code>` is `//x`",
384384
" ",
385385
"Escaping special characters sometimes can be problematic as many shells have their own techniques " +
386-
"(e.g. PowerShell collapses two single quote characters) that may conflict with CS-Script escaping approach." +
386+
"(e.g. PowerShell collapses two single quote characters) that may conflict with other shells' escaping approaches." +
387387
"This is the reason why CS-Script offers multiple escape techniques.",
388+
"",
388389
"It can be beneficial during the troubleshooting to use `-code:show` command that outputs the received " +
389390
"CLI arguments and the interpreted C# code without the execution.",
390391
" ",
391-
"Since command-line interface does not allow some special characters they need to be escaped.",
392+
"CS-Script character escaping summary:",
392393
"",
393394
"```",
394395
"Escaped Interpreted character",
@@ -402,8 +403,9 @@ static AppArgs()
402403
"`n -> <\\n>",
403404
"`r -> <\\r>",
404405
"```"
405-
);
406-
406+
)
407+
{
408+
};
407409
switch1Help[wait] = new ArgInfo("-wait[:prompt]",
408410
"Waits for user input after the execution before exiting.",
409411
"If specified the execution will proceed with exit only after any std input is received.",
@@ -2250,7 +2252,7 @@ public static string BuildVersionInfo(string arg)
22502252
Directives.compiler_csc_outproc))
22512253
{
22522254
builder.AppendLine($" Compiler engine: {settings.DefaultCompilerEngine} ({Globals.csc})");
2253-
builder.AppendLine($" of dotnet ({Globals.dotnet})");
2255+
builder.AppendLine($" of dotnet ({Globals.dotnet})");
22542256
if (sdkWarning.HasText())
22552257
builder.AppendLine($" {sdkWarning}");
22562258
}

src/cscs/cscs.csproj

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
<AssemblyName>cscs</AssemblyName>
77
<RootNamespace>CSScripting</RootNamespace>
88
<StartupObject />
9-
<Version>4.11.3.0</Version>
9+
<Version>4.11.4.0</Version>
1010
<Authors>Oleg Shilo</Authors>
1111
<Product>CS-Script</Product>
1212
<Copyright>(C) 2004-2023 Oleg Shilo</Copyright>
@@ -16,19 +16,18 @@
1616
<RepositoryUrl>https://github.com/oleg-shilo/cs-script</RepositoryUrl>
1717
<RepositoryType>git</RepositoryType>
1818
<PackageTags>C# script dynamic</PackageTags>
19-
<AssemblyVersion>4.11.3.0</AssemblyVersion>
20-
<FileVersion>4.11.3.0</FileVersion>
19+
<AssemblyVersion>4.11.4.0</AssemblyVersion>
20+
<FileVersion>4.11.4.0</FileVersion>
2121
<PackageReleaseNotes>---
2222

2323
## Changes
2424

2525
### CLI
26-
- CS-Script config file is moved to JSON format (custom XML config files are still supported)
27-
- For system wide (global) installation of CS-Script, its config file location is changed to: `%Environment.SpecialFolder.CommonApplicationData%/cs-script/css_config.json`)
28-
- Added `-csproj` custom command
26+
- Added -csproj custom command
27+
- improved shim detection for Scoop installations
2928

3029
### CSScriptLib
31-
- no changes</PackageReleaseNotes>
30+
- no changes</PackageReleaseNotes>
3231
<PackageLicenseExpression>MIT</PackageLicenseExpression>
3332
<PackageIcon>css_logo.png</PackageIcon>
3433
<ApplicationIcon>css_logo.ico</ApplicationIcon>

src/css/Properties/AssemblyInfo.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,5 +31,5 @@
3131
// You can specify all the values or you can default the Build and Revision Numbers
3232
// by using the '*' as shown below:
3333
// [assembly: AssemblyVersion("1.0.*")]
34-
[assembly: AssemblyVersion("4.11.3.0")]
35-
[assembly: AssemblyFileVersion("4.11.3.0")]
34+
[assembly: AssemblyVersion("4.11.4.0")]
35+
[assembly: AssemblyFileVersion("4.11.4.0")]

src/csws/csws.csproj

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
<UseWindowsForms>true</UseWindowsForms>
99
<RootNamespace>CSScripting</RootNamespace>
1010
<StartupObject />
11-
<Version>4.11.3.0</Version>
11+
<Version>4.11.4.0</Version>
1212
<Authors>Oleg Shilo</Authors>
1313
<Product>CS-Script</Product>
1414
<Copyright>(C) 2004-2022 Oleg Shilo</Copyright>
@@ -19,19 +19,18 @@
1919
<RepositoryUrl>https://github.com/oleg-shilo/cs-script</RepositoryUrl>
2020
<RepositoryType>git</RepositoryType>
2121
<PackageTags>C# script dynamic</PackageTags>
22-
<AssemblyVersion>4.11.3.0</AssemblyVersion>
23-
<FileVersion>4.11.3.0</FileVersion>
22+
<AssemblyVersion>4.11.4.0</AssemblyVersion>
23+
<FileVersion>4.11.4.0</FileVersion>
2424
<PackageReleaseNotes>---
2525

2626
## Changes
2727

2828
### CLI
29-
- CS-Script config file is moved to JSON format (custom XML config files are still supported)
30-
- For system wide (global) installation of CS-Script, its config file location is changed to: `%Environment.SpecialFolder.CommonApplicationData%/cs-script/css_config.json`)
31-
- Added `-csproj` custom command
29+
- Added -csproj custom command
30+
- improved shim detection for Scoop installations
3231

3332
### CSScriptLib
34-
- no changes</PackageReleaseNotes>
33+
- no changes</PackageReleaseNotes>
3534
<PackageLicenseExpression>MIT</PackageLicenseExpression>
3635
<ApplicationIcon>css_logo.ico</ApplicationIcon>
3736
<PackageIcon>..\logo\css_logo.png</PackageIcon>

src/out/ci/build.sh

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
cd /home/user/lnx-build
2-
sudo chmod 775 cs-script_4.11-3/DEBIAN/p*
3-
dpkg-deb --build cs-script_4.11-3
2+
sudo chmod 775 cs-script_4.11-4/DEBIAN/p*
3+
dpkg-deb --build cs-script_4.11-4
44

5-
sudo dotnet ./cs-script_4.11-3/usr/local/bin/cs-script/cscs.dll -self-test
6-
dotnet ./cs-script_4.11-3/usr/local/bin/cs-script/cscs.dll -server:stop
5+
sudo dotnet ./cs-script_4.11-4/usr/local/bin/cs-script/cscs.dll -self-test
6+
dotnet ./cs-script_4.11-4/usr/local/bin/cs-script/cscs.dll -server:stop

src/release_notes.md

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,12 @@
1-
# Release v4.11.3.0
1+
# Release v4.11.4.0
22

33
---
44

55
## Changes
66

77
### CLI
8-
- CS-Script config file is moved to JSON format (custom XML config files are still supported)
9-
- For system wide (global) installation of CS-Script, its config file location is changed to: `%Environment.SpecialFolder.CommonApplicationData%/cs-script/css_config.json`)
10-
- Added `-csproj` custom command
8+
- Added -csproj custom command
9+
- improved shim detection for Scoop installations
1110

1211
### CSScriptLib
13-
- no changes
12+
- no changes

0 commit comments

Comments
 (0)