Skip to content
This repository has been archived by the owner on Feb 12, 2023. It is now read-only.

Commit

Permalink
(+) #1 & #3 Added NuGet and Chocolatey package scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
GeertvanHorrik committed Apr 19, 2014
1 parent 58f1fcf commit de2f7f9
Show file tree
Hide file tree
Showing 6 changed files with 50 additions and 1 deletion.
20 changes: 20 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,26 @@ Once a context is created, the *Linker* class can be used to actually link the f

Linker.Link(context);

# How to get GitHubLink #

There are three general ways to get GitHubLink:.

## Get it from GitHub ##

The releases will be available as separate executable download on the [releases tab](https://github.com/GeertvanHorrik/GitHubLink/releases) of the project.

## Get it via Chocolatey ##

If you want to install the tool on your (build) computer, the package is available via [Chocolatey](https://chocolatey.org/). To install, use the following command:

cinst GitHubLink

## Get it via NuGet ##

If you want to reference the assembly to use it in code, the recommended way to get it is via [NuGet](http://www.nuget.org/).

**Note that getting GitHubLink via NuGet will add it as a reference to the project**

# How does it work #

The SrcSrv tool (Srcsrv.dll) enables a client to retrieve the exact version of the source files that were used to build an application. Because the source code for a module can change between versions and over the course of years, it is important to look at the source code as it existed when the version of the module in question was built.
Expand Down
24 changes: 24 additions & 0 deletions deployment/Chocolatey/template/GitHubLink.nuspec
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
<?xml version="1.0" encoding="utf-8"?>
<package>
<metadata>
<id>githublink</id>
<version>[VERSION]</version>
<title>GitHubLink</title>
<authors>GeertvanHorrik</authors>

<description>
GitHubLink let's users step through your code hosted on GitHub! This makes symbol servers obsolete which saves you both time
with uploading source files with symbols and the user no longer has to specify custom symbol servers (such as symbolsource.org).
</description>

<summary>
</summary>

<tags>source symbol symbols server sourcelink github stepping debugging</tags>

<language>en-US</language>
<projectUrl>https://github.com/GeertvanHorrik/GitHubLink/</projectUrl>
<licenseUrl>https://github.com/GeertvanHorrik/GitHubLink/blob/develop/LICENSE</licenseUrl>
<iconUrl>https://raw.githubusercontent.com/GeertvanHorrik/GitHubLink/develop/design/logo/logo_64.png</iconUrl>
</metadata>
</package>
2 changes: 2 additions & 0 deletions deployment/Chocolatey/template/tools/chocolateyInstall.ps1
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
Generate-BinFile "ghl" "$packageFolder\Tools\GitHubLink.exe"
Write-ChocolateySuccess "GitHubLink"
3 changes: 3 additions & 0 deletions deployment/Chocolatey/template/tools/chocolateyUninstall.ps1
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
Remove-BinFile "ghl" "$packageFolder\Tools\GitHubLink.exe"
Remove-BinFile "GitHubLink" "$packageFolder\Tools\GitHubLink.exe"
Write-ChocolateySuccess "GitHubLink"
Binary file not shown.
2 changes: 1 addition & 1 deletion deployment/NuGet/template/GitHubLink.nuspec
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<package>
<metadata>
<id>GitHubLink</id>
<id>githublink</id>
<version>[VERSION]</version>
<title>GitHubLink</title>
<authors>GeertvanHorrik</authors>
Expand Down

0 comments on commit de2f7f9

Please sign in to comment.