This repository has been archived by the owner on Feb 12, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 79
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
18 changed files
with
180 additions
and
187 deletions.
There are no files selected for viewing
27 changes: 0 additions & 27 deletions
27
deployment/Chocolatey/template/GitHubLink/GitHubLink.nuspec
This file was deleted.
Oops, something went wrong.
21 changes: 0 additions & 21 deletions
21
deployment/Chocolatey/template/GitHubLink/tools/LICENSE.txt
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Binary file not shown.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
11 changes: 0 additions & 11 deletions
11
deployment/NuGet/template/GitLinkTask/Build/dotnet/GitLink.targets
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
powershell.exe -ExecutionPolicy bypass -Command "& '%~dpn0.ps1'" %* |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
<# | ||
.SYNOPSIS | ||
Restores NuGet packages. | ||
#> | ||
Param( | ||
) | ||
|
||
Push-Location $PSScriptRoot | ||
try { | ||
$HeaderColor = 'Green' | ||
$toolsPath = "$PSScriptRoot\tools" | ||
$nugetVerbosity = 'quiet' | ||
if ($Verbose) { $nugetVerbosity = 'normal' } | ||
|
||
# First restore NuProj packages since the solution restore depends on NuProj evaluation succeeding. | ||
gci "$PSScriptRoot\src\project.json" -rec |? { $_.FullName -imatch 'nuget' } |% { | ||
& "$toolsPath\Restore-NuGetPackages.ps1" -Path $_ -Verbosity $nugetVerbosity | ||
} | ||
|
||
# Restore VS solution dependencies | ||
gci "$PSScriptRoot\src" -rec |? { $_.FullName.EndsWith('.sln') } |% { | ||
& "$toolsPath\Restore-NuGetPackages.ps1" -Path $_.FullName -Verbosity $nugetVerbosity | ||
} | ||
|
||
Write-Host "Successfully restored all dependencies" -ForegroundColor Yellow | ||
} | ||
catch { | ||
Write-Error "Aborting script due to error" | ||
exit $lastexitcode | ||
} | ||
finally { | ||
Pop-Location | ||
} |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,44 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> | ||
<ItemGroup Label="ProjectConfigurations"> | ||
<ProjectConfiguration Include="Debug|AnyCPU"> | ||
<Configuration>Debug</Configuration> | ||
<Platform>AnyCPU</Platform> | ||
</ProjectConfiguration> | ||
<ProjectConfiguration Include="Release|AnyCPU"> | ||
<Configuration>Release</Configuration> | ||
<Platform>AnyCPU</Platform> | ||
</ProjectConfiguration> | ||
</ItemGroup> | ||
<PropertyGroup Label="Globals"> | ||
<ProjectGuid>29e78909-b7fb-472c-a9a0-1749a8be9a9a</ProjectGuid> | ||
</PropertyGroup> | ||
<PropertyGroup> | ||
<NuProjPath>$(UserProfile)\.nuget\packages\NuProj\0.11.14-beta\tools</NuProjPath> | ||
</PropertyGroup> | ||
<Import Project="$(NuProjPath)\NuProj.props" Condition="Exists('$(NuProjPath)\NuProj.props')" /> | ||
<PropertyGroup Label="Configuration"> | ||
<Id>GitLink</Id> | ||
<Title>GitLink</Title> | ||
<Authors>GeertvanHorrik</Authors> | ||
<Owners>GeertvanHorrik</Owners> | ||
<Summary>GitLink.NuGet</Summary> | ||
<Description> GitLink let's users step through your code hosted on any Git hosting service! This makes symbol servers obsolete which saves you both time </Description> | ||
<ReleaseNotes> | ||
</ReleaseNotes> | ||
<ProjectUrl>https://github.com/GitTools/GitLink</ProjectUrl> | ||
<LicenseUrl>https://github.com/GitTools/GitLink/blob/develop/LICENSE</LicenseUrl> | ||
<Tags>GitLink.NuGet</Tags> | ||
<DevelopmentDependency>true</DevelopmentDependency> | ||
<IconUrl>https://raw.githubusercontent.com/GitTools/GitLink/develop/design/logo/logo_64.png</IconUrl> | ||
</PropertyGroup> | ||
<ItemGroup> | ||
<None Include="project.json" /> | ||
</ItemGroup> | ||
<ItemGroup> | ||
<ProjectReference Include="..\GitLink\GitLink.csproj"> | ||
<PackageDirectory>Tools</PackageDirectory> | ||
</ProjectReference> | ||
</ItemGroup> | ||
<Import Project="$(NuProjPath)\NuProj.targets" /> | ||
</Project> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
{ | ||
"dependencies": { | ||
"ReadOnlySourceTree": { | ||
"version": "0.1.37-beta", | ||
"suppressParent": "none" | ||
}, | ||
"Nerdbank.GitVersioning": { | ||
"version": "1.5.46", | ||
"suppressParent": "none" | ||
}, | ||
"NuProj": "0.11.14-beta" | ||
}, | ||
"frameworks": { | ||
"net451": {} | ||
}, | ||
"runtimes": { | ||
"win": {} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
<# | ||
.SYNOPSIS | ||
Downloads the NuGet.exe tool and returns the path to it. | ||
#> | ||
|
||
$binaryToolsPath = "$PSScriptRoot\..\obj\tools" | ||
if (!(Test-Path $binaryToolsPath)) { $null = mkdir $binaryToolsPath } | ||
$nugetPath = "$binaryToolsPath\nuget.exe" | ||
if (!(Test-Path $nugetPath)) { | ||
$NuGetVersion = "3.4.4" | ||
Write-Host "Downloading nuget.exe $NuGetVersion..." -ForegroundColor Yellow | ||
Invoke-WebRequest -Uri "https://dist.nuget.org/win-x86-commandline/v$NuGetVersion/NuGet.exe" -OutFile $nugetPath | ||
} | ||
|
||
$nugetPath |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
<# | ||
.SYNOPSIS | ||
Installs a NuGet package. | ||
.PARAMETER PackageID | ||
The Package ID to install. | ||
.PARAMETER Version | ||
The version of the package to install. If unspecified, the latest stable release is installed. | ||
.PARAMETER Source | ||
The package source feed to find the package to install from. | ||
.PARAMETER PackagesDir | ||
The directory to install the package to. By default, it uses the Packages folder at the root of the repo. | ||
#> | ||
Param( | ||
[Parameter(Position=1,Mandatory=$true)] | ||
[string]$PackageId, | ||
[Parameter()] | ||
[string]$Version, | ||
[Parameter()] | ||
[string]$Source, | ||
[Parameter()] | ||
[switch]$Prerelease, | ||
[Parameter()] | ||
[ValidateSet('Quiet','Normal','Detailed')] | ||
[string]$Verbosity='normal' | ||
) | ||
|
||
$nugetPath = & "$PSScriptRoot\Get-NuGetTool.ps1" | ||
|
||
try { | ||
Write-Verbose "Installing $PackageId..." | ||
$args = "Install",$PackageId | ||
if ($Version) { $args += "-Version",$Version } | ||
if ($Source) { $args += "-Source",$Source } | ||
if ($Prerelease) { $args += "-Prerelease" } | ||
$args += '-Verbosity',$Verbosity | ||
|
||
$p = Start-Process $nugetPath $args -NoNewWindow -Wait -PassThru | ||
if ($p.ExitCode -ne 0) { throw } | ||
} finally { | ||
Pop-Location | ||
} |
Oops, something went wrong.