Release v4.7.0.0
Deployment
Ubuntu (terminal)
repo=https://github.com/oleg-shilo/cs-script/releases/download/v4.7.0.0/; file=cs-script_4.7-0.deb; rm $file; wget $repo$file; sudo dpkg -i $file
Depending on the user context you may need to add permissions to the CS-Script temp dir sudo chmod -R 777 /tmp
You can also create a convenient alias (cs-script_x.x-x.deb package does it automatically):
alias css='dotnet /usr/local/bin/cs-script/cscs.dll'+
After that, you can invoke CS-Script engine from anywhere by just typing 'css'.
Windows (choco)
choco install cs-script
.NET Tool (Any OS)
dotnet tool install --global cs-script.cli
You will need to add $HOME/.dotnet/tools
folder to the system PATH.
Manual (Any OS)
Just unpack the corresponding 7z file and start using the script engine executable cscs
.
On Windows, if you prefer you can build a shim exe css
for an easy launch of the script engine process:
dotnet cscs -self-exe
The same shim/symbolic link is created if you are installing the CS-Script as a choco package.
The minimalistic manual distrio on the target machine with .NET SDK installed is just a set of the script engine files:
Linux
cscs.dll
cscs.runtimeconfig.json
Running: dotnet ./cscs.dll <script>
You can also create an alias for convenient access:
echo "alias css='dotnet /usr/local/bin/cs-script/cscs.dll'" >> ~/.bashrc
source ~/.bashrc
And then you can run scripts with a simple: css <script>
Windows
cscs.exe
cscs.dll
cscs.runtimeconfig.json
Running: cscs.exe <script>
Changes
CLI
- Issue #327: CS-Script file with async calls suddenly terminates
- Implemented new NuGet support (https://github.com/oleg-shilo/cs-script/wiki/NuGet-Support)
- Updated Linux distro with
css
executable replaced with Linuxalias
functionality. - CS-Script CLI is published on nuget.org as a .NET tool
cs-script.cli
.
CSScriptLib
<no changes>