-
-
Notifications
You must be signed in to change notification settings - Fork 39
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #36 from laurentkempe/feature/chocolatey
Add GitDiffMargin Chocolatey package
- Loading branch information
Showing
2 changed files
with
50 additions
and
0 deletions.
There are no files selected for viewing
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,35 @@ | ||
<?xml version="1.0"?> | ||
<package xmlns="http://schemas.microsoft.com/packaging/2010/07/nuspec.xsd"> | ||
<metadata> | ||
<id>GitDiffMargin</id> | ||
<title>Git Diff Margin</title> | ||
<version>3.0.0</version> | ||
<authors>Laurent Kempé</authors> | ||
<owners>Laurent Kempé</owners> | ||
<summary>Git Diff Margin displays live Git changes of the currently edited file on Visual Studio margin and scroll bar. Supports Visual Studio 2010 through Visual Studio 14 "CTP".</summary> | ||
<description>Git Diff Margin displays live Git changes of the currently edited file on Visual Studio margin and scroll bar. | ||
|
||
* Supports Visual Studio 2010 through Visual Studio 14 "CTP" | ||
* Quickly view all current file changes on | ||
* Left margin | ||
* Scroll Bars in map and bar mode with and without source overview | ||
* blue rectangle for modifications | ||
* green rectangles for new lines | ||
* red triangles for deletions | ||
* all colors configurable through Visual Studio Fonts and Colors options | ||
* Undo the change | ||
* Copy the old code into the clipboard | ||
* Copy a part of the old code by selecting it in the popup | ||
* Show the diff in Visual Studio Diff window except for Visual Studio 2010 which still use configured Git external diff tool | ||
* Navigate to previous/next change on the file using user defined keyboard shortcuts or the popup icons | ||
* Support Visual Studio 2013 Dark, Light and Blue Theme | ||
* Support zoom | ||
</description> | ||
<releaseNotes></releaseNotes> | ||
<projectUrl>https://github.com/laurentkempe/GitDiffMargin</projectUrl> | ||
<tags>git visualstudio vs vs2010 vs2012 vs2013 vs14 2010 2012 2013</tags> | ||
<licenseUrl>https://raw.githubusercontent.com/laurentkempe/GitDiffMargin/master/LICENSE.md</licenseUrl> | ||
<requireLicenseAcceptance>false</requireLicenseAcceptance> | ||
<iconUrl>https://raw.githubusercontent.com/laurentkempe/GitDiffMargin/master/GitDiffMargin/Resources/GitDiffMargin-Thumb.png</iconUrl> | ||
</metadata> | ||
</package> |
15 changes: 15 additions & 0 deletions
15
ChocolateyPackage/GitDiffMargin/tools/chocolateyInstall.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,15 @@ | ||
try { | ||
$package = 'GitDiffMargin' | ||
|
||
$params = @{ | ||
PackageName = $package; | ||
VsixUrl = 'http://visualstudiogallery.msdn.microsoft.com/cf49cf30-2ca6-4ea0-b7cc-6a8e0dadc1a8/file/101267/10/GitDiffMargin.vsix'; | ||
} | ||
|
||
Install-ChocolateyVsixPackage @params | ||
|
||
Write-ChocolateySuccess $package | ||
} catch { | ||
Write-ChocolateyFailure $package "$($_.Exception.Message)" | ||
throw | ||
} |