File tree Expand file tree Collapse file tree 15 files changed +28
-28
lines changed
Dotnet.Script.DependencyModel
Dotnet.Script.DependencyModel.Nuget Expand file tree Collapse file tree 15 files changed +28
-28
lines changed Original file line number Diff line number Diff line change @@ -59,19 +59,19 @@ choco install dotnet.script
59
59
We also provide a PowerShell script for installation.
60
60
61
61
``` powershell
62
- (new-object Net.WebClient).DownloadString("https://raw.githubusercontent.com/filipw /dotnet-script/master/install/install.ps1") | iex
62
+ (new-object Net.WebClient).DownloadString("https://raw.githubusercontent.com/dotnet-script /dotnet-script/master/install/install.ps1") | iex
63
63
```
64
64
65
65
### Linux and Mac
66
66
67
67
``` shell
68
- curl -s https://raw.githubusercontent.com/filipw /dotnet-script/master/install/install.sh | bash
68
+ curl -s https://raw.githubusercontent.com/dotnet-script /dotnet-script/master/install/install.sh | bash
69
69
```
70
70
71
71
If permission is denied we can try with ` sudo `
72
72
73
73
``` shell
74
- curl -s https://raw.githubusercontent.com/filipw /dotnet-script/master/install/install.sh | sudo bash
74
+ curl -s https://raw.githubusercontent.com/dotnet-script /dotnet-script/master/install/install.sh | sudo bash
75
75
```
76
76
77
77
### Docker
@@ -91,7 +91,7 @@ docker run -it dotnet-script --version
91
91
92
92
### Github
93
93
94
- You can manually download all the releases in ` zip ` format from the [ GitHub releases page] ( https://github.com/filipw /dotnet-script/releases ) .
94
+ You can manually download all the releases in ` zip ` format from the [ GitHub releases page] ( https://github.com/dotnet-script /dotnet-script/releases ) .
95
95
96
96
## Usage
97
97
@@ -576,4 +576,4 @@ We will also see this when working with scripts in VS Code under the problems pa
576
576
577
577
## License
578
578
579
- [ MIT License] ( https://github.com/filipw /dotnet-script/blob/master/LICENSE )
579
+ [ MIT License] ( https://github.com/dotnet-script /dotnet-script/blob/master/LICENSE )
Original file line number Diff line number Diff line change 3
3
SCRIPT_DIR=$( cd " $( dirname " ${BASH_SOURCE[0]} " ) " && pwd )
4
4
DOTNET_SCRIPT=" $SCRIPT_DIR /build/dotnet-script"
5
5
if [ ! -d " $DOTNET_SCRIPT " ]; then
6
- currentVersion=$( curl https://api.github.com/repos/filipw /dotnet-script/releases/latest? access_token=3a5de576bd32ddfccb52662d2d08d33a7edc318b | grep -Eo " \" tag_name\" :\s*\" (.*)\" " | cut -d' "' -f4)
6
+ currentVersion=$( curl https://api.github.com/repos/dotnet-script /dotnet-script/releases/latest? access_token=3a5de576bd32ddfccb52662d2d08d33a7edc318b | grep -Eo " \" tag_name\" :\s*\" (.*)\" " | cut -d' "' -f4)
7
7
echo " Downloading dotnet-script version $currentVersion ..."
8
- curl -L https://github.com/filipw /dotnet-script/releases/download/$currentVersion /dotnet-script.$currentVersion .zip > " $SCRIPT_DIR /build/dotnet-script.zip"
8
+ curl -L https://github.com/dotnet-script /dotnet-script/releases/download/$currentVersion /dotnet-script.$currentVersion .zip > " $SCRIPT_DIR /build/dotnet-script.zip"
9
9
unzip -o " $SCRIPT_DIR /build/dotnet-script.zip" -d " $SCRIPT_DIR /build/"
10
10
if [ $? -ne 0 ]; then
11
11
echo " An error occured while downloading dotnet-script"
Original file line number Diff line number Diff line change @@ -5,4 +5,4 @@ in verifying that this package's contents are trustworthy.
5
5
dotnet-script.dll : 3BF42E83BE931AC98D02306DBC6FB319
6
6
7
7
Check against the corresponding file in this release.
8
- https://github.com/filipw /dotnet-script/releases/download/0.13.0/dotnet-script.0.13.0.zip
8
+ https://github.com/dotnet-script /dotnet-script/releases/download/0.13.0/dotnet-script.0.13.0.zip
Original file line number Diff line number Diff line change 2
2
3
3
$scriptRoot = Split-Path $MyInvocation.MyCommand.Path - Parent
4
4
$client = New-Object " System.Net.WebClient"
5
- $url = " https://github.com/filipw /dotnet-script/releases/download/0.18.0/dotnet-script.0.18.0.zip"
5
+ $url = " https://github.com/dotnet-script /dotnet-script/releases/download/0.18.0/dotnet-script.0.18.0.zip"
6
6
$file = " $scriptRoot /dotnet-script.zip"
7
7
$client.DownloadFile ($url , $file )
8
8
Expand-Archive $file - DestinationPath $scriptRoot - Force
Original file line number Diff line number Diff line change 1
1
#! /bin/bash
2
2
3
- curl -L https://github.com/filipw /dotnet-script/releases/download/0.18.0/dotnet-script.0.18.0.zip > dotnet-script.zip
3
+ curl -L https://github.com/dotnet-script /dotnet-script/releases/download/0.18.0/dotnet-script.0.18.0.zip > dotnet-script.zip
4
4
unzip -o dotnet-script.zip -d ./
Original file line number Diff line number Diff line change @@ -5,15 +5,15 @@ $tempFolder = Join-Path $env:TEMP "dotnet-script"
5
5
New-Item $tempFolder - ItemType Directory - Force
6
6
7
7
# Get the latest release
8
- $latestRelease = Invoke-WebRequest " https://api.github.com/repos/filipw /dotnet-script/releases/latest" |
8
+ $latestRelease = Invoke-WebRequest " https://api.github.com/repos/dotnet-script /dotnet-script/releases/latest" |
9
9
ConvertFrom-Json |
10
10
Select-Object tag_name
11
11
$tag_name = $latestRelease.tag_name
12
12
13
13
# Download the zip
14
14
Write-Host " Downloading latest version ($tag_name )"
15
15
$client = New-Object " System.Net.WebClient"
16
- $url = " https://github.com/filipw /dotnet-script/releases/download/$tag_name /dotnet-script.$tag_name .zip"
16
+ $url = " https://github.com/dotnet-script /dotnet-script/releases/download/$tag_name /dotnet-script.$tag_name .zip"
17
17
$zipFile = Join-Path $tempFolder " dotnet-script.zip"
18
18
$client.DownloadFile ($url , $zipFile )
19
19
Original file line number Diff line number Diff line change 1
1
#! /bin/bash
2
2
mkdir /tmp/dotnet-script
3
3
if [[ -z $1 ]]; then
4
- version=$( curl https://api.github.com/repos/filipw /dotnet-script/releases/latest | grep -Eo " \" tag_name\" :\s*\" (.*)\" " | cut -d' "' -f4)
4
+ version=$( curl https://api.github.com/repos/dotnet-script /dotnet-script/releases/latest | grep -Eo " \" tag_name\" :\s*\" (.*)\" " | cut -d' "' -f4)
5
5
else
6
6
version=$1
7
7
fi
@@ -15,7 +15,7 @@ if [[ $? -eq 0 ]]; then
15
15
fi
16
16
17
17
echo " Installing $version ..."
18
- curl -L https://github.com/filipw /dotnet-script/releases/download/$version /dotnet-script.$version .zip > /tmp/dotnet-script/dotnet-script.zip
18
+ curl -L https://github.com/dotnet-script /dotnet-script/releases/download/$version /dotnet-script.$version .zip > /tmp/dotnet-script/dotnet-script.zip
19
19
unzip -o /tmp/dotnet-script/dotnet-script.zip -d /usr/local/lib
20
20
chmod +x /usr/local/lib/dotnet-script/dotnet-script.sh
21
21
cd /usr/local/bin
Original file line number Diff line number Diff line change 9
9
<PackageId >Dotnet.Script.Core</PackageId >
10
10
<PackageTags >script;csx;csharp;roslyn</PackageTags >
11
11
<PackageIconUrl >https://raw.githubusercontent.com/filipw/Strathweb.TypedRouting.AspNetCore/master/strathweb.png</PackageIconUrl >
12
- <PackageProjectUrl >https://github.com/filipw /dotnet-script</PackageProjectUrl >
12
+ <PackageProjectUrl >https://github.com/dotnet-script /dotnet-script</PackageProjectUrl >
13
13
<PackageLicenseExpression >MIT</PackageLicenseExpression >
14
14
<RepositoryType >git</RepositoryType >
15
- <RepositoryUrl >https://github.com/filipw /dotnet-script.git</RepositoryUrl >
15
+ <RepositoryUrl >https://github.com/dotnet-script /dotnet-script.git</RepositoryUrl >
16
16
<GenerateAssemblyConfigurationAttribute >false</GenerateAssemblyConfigurationAttribute >
17
17
<GenerateAssemblyCompanyAttribute >false</GenerateAssemblyCompanyAttribute >
18
18
<GenerateAssemblyProductAttribute >false</GenerateAssemblyProductAttribute >
Original file line number Diff line number Diff line change @@ -78,11 +78,11 @@ private void ReportThatNewVersionIsAvailable(VersionInfo latestVersion)
78
78
if ( ScriptEnvironment . Default . IsWindows )
79
79
{
80
80
updateInfo . AppendLine ( "Chocolatey : choco upgrade Dotnet.Script" ) ;
81
- updateInfo . AppendLine ( "Powershell : (new-object Net.WebClient).DownloadString(\" https://raw.githubusercontent.com/filipw /dotnet-script/master/install/install.ps\" ) | iex" ) ;
81
+ updateInfo . AppendLine ( "Powershell : (new-object Net.WebClient).DownloadString(\" https://raw.githubusercontent.com/dotnet-script /dotnet-script/master/install/install.ps\" ) | iex" ) ;
82
82
}
83
83
else
84
84
{
85
- updateInfo . AppendLine ( "Bash : curl -s https://raw.githubusercontent.com/filipw /dotnet-script/master/install/install.sh | bash" ) ;
85
+ updateInfo . AppendLine ( "Bash : curl -s https://raw.githubusercontent.com/dotnet-script /dotnet-script/master/install/install.sh | bash" ) ;
86
86
}
87
87
88
88
_scriptConsole . WriteHighlighted ( updateInfo . ToString ( ) ) ;
Original file line number Diff line number Diff line change @@ -14,7 +14,7 @@ namespace Dotnet.Script.Core.Versioning
14
14
public class VersionProvider : IVersionProvider
15
15
{
16
16
private const string UserAgent = "dotnet-script" ;
17
- private static readonly string RequestUri = "/repos/filipw /dotnet-script/releases/latest" ;
17
+ private static readonly string RequestUri = "/repos/dotnet-script /dotnet-script/releases/latest" ;
18
18
19
19
/// <inheritdoc>
20
20
public async Task < VersionInfo > GetLatestVersion ( )
Original file line number Diff line number Diff line change 3
3
<PropertyGroup >
4
4
<TargetFrameworks >netstandard2.0</TargetFrameworks >
5
5
<PackageLicenseExpression >MIT</PackageLicenseExpression >
6
- <PackageProjectUrl >https://github.com/filipw /dotnet-script</PackageProjectUrl >
6
+ <PackageProjectUrl >https://github.com/dotnet-script /dotnet-script</PackageProjectUrl >
7
7
<PackageIconUrl >https://raw.githubusercontent.com/filipw/Strathweb.TypedRouting.AspNetCore/master/strathweb.png</PackageIconUrl >
8
- <RepositoryUrl >https://github.com/filipw /dotnet-script.git</RepositoryUrl >
8
+ <RepositoryUrl >https://github.com/dotnet-script /dotnet-script.git</RepositoryUrl >
9
9
<RepositoryType >git</RepositoryType >
10
10
<PackageTags >script;csx;csharp;roslyn;nuget</PackageTags >
11
11
<Version >1.4.0</Version >
Original file line number Diff line number Diff line change 6
6
<Company >dotnet-script</Company >
7
7
<Description >Provides runtime and compilation dependency resolution for dotnet-script based scripts.</Description >
8
8
<PackageLicenseExpression >MIT</PackageLicenseExpression >
9
- <PackageProjectUrl >https://github.com/filipw /dotnet-script</PackageProjectUrl >
9
+ <PackageProjectUrl >https://github.com/dotnet-script /dotnet-script</PackageProjectUrl >
10
10
<PackageIconUrl >https://raw.githubusercontent.com/filipw/Strathweb.TypedRouting.AspNetCore/master/strathweb.png</PackageIconUrl >
11
- <RepositoryUrl >https://github.com/filipw /dotnet-script.git</RepositoryUrl >
11
+ <RepositoryUrl >https://github.com/dotnet-script /dotnet-script.git</RepositoryUrl >
12
12
<RepositoryType >git</RepositoryType >
13
13
<PackageTags >script;csx;csharp;roslyn;omnisharp</PackageTags >
14
14
<Version >1.4.0</Version >
Original file line number Diff line number Diff line change @@ -13,8 +13,8 @@ public class PackageVersionTests
13
13
[ InlineData ( "1.2.3" ) ]
14
14
[ InlineData ( "1.2.3.4" ) ]
15
15
[ InlineData ( "1.2.3-beta1" ) ]
16
- [ InlineData ( "0.1.4-beta" ) ] // See: https://github.com/filipw /dotnet-script/issues/407#issuecomment-563363947
17
- [ InlineData ( "2.0.0-preview3.20122.2" ) ] // See: https://github.com/filipw /dotnet-script/issues/407#issuecomment-631122591
16
+ [ InlineData ( "0.1.4-beta" ) ] // See: https://github.com/dotnet-script /dotnet-script/issues/407#issuecomment-563363947
17
+ [ InlineData ( "2.0.0-preview3.20122.2" ) ] // See: https://github.com/dotnet-script /dotnet-script/issues/407#issuecomment-631122591
18
18
[ InlineData ( "1.0.0-ci-20180920T1656" ) ]
19
19
[ InlineData ( "[1.2]" ) ]
20
20
[ InlineData ( "[1.2.3]" ) ]
Original file line number Diff line number Diff line change @@ -281,7 +281,7 @@ public void ShouldLoadMicrosoftExtensionsDependencyInjection()
281
281
[ Fact ]
282
282
public void ShouldThrowExceptionOnInvalidMediaType ( )
283
283
{
284
- var url = "https://github.com/filipw /dotnet-script/archive/0.20.0.zip" ;
284
+ var url = "https://github.com/dotnet-script /dotnet-script/archive/0.20.0.zip" ;
285
285
var ( output , _) = ScriptTestRunner . Default . Execute ( url ) ;
286
286
Assert . Contains ( "not supported" , output ) ;
287
287
}
Original file line number Diff line number Diff line change 10
10
<OutputType >Exe</OutputType >
11
11
<PackageTags >dotnet;cli;script;csx;csharp;roslyn</PackageTags >
12
12
<PackageIconUrl >https://raw.githubusercontent.com/filipw/Strathweb.TypedRouting.AspNetCore/master/strathweb.png</PackageIconUrl >
13
- <PackageProjectUrl >https://github.com/filipw /dotnet-script</PackageProjectUrl >
13
+ <PackageProjectUrl >https://github.com/dotnet-script /dotnet-script</PackageProjectUrl >
14
14
<PackageLicenseExpression >MIT</PackageLicenseExpression >
15
15
<RepositoryType >git</RepositoryType >
16
- <RepositoryUrl >https://github.com/filipw /dotnet-script.git</RepositoryUrl >
16
+ <RepositoryUrl >https://github.com/dotnet-script /dotnet-script.git</RepositoryUrl >
17
17
<GenerateAssemblyConfigurationAttribute >false</GenerateAssemblyConfigurationAttribute >
18
18
<GenerateAssemblyCompanyAttribute >false</GenerateAssemblyCompanyAttribute >
19
19
<GenerateAssemblyProductAttribute >false</GenerateAssemblyProductAttribute >
You can’t perform that action at this time.
0 commit comments