-
Notifications
You must be signed in to change notification settings - Fork 12
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 #32 from mazong1123/fix-21-add-nuget
Add Windows installer support.
- Loading branch information
Showing
7 changed files
with
90 additions
and
1 deletion.
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
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,7 @@ | ||
"C:\Program Files (x86)\WiX Toolset v3.11\bin\heat.exe" dir ".\src\bin\Release\netcoreapp2.0\win10-x64\publish" -cg svn2gitnet -gg -sfrag -sreg -svb6 -template product -t svn2gitnet.xslt -out svn2gitnet-x64.wxs | ||
"C:\Program Files (x86)\WiX Toolset v3.11\bin\candle.exe" svn2gitnet-x64.wxs | ||
"C:\Program Files (x86)\WiX Toolset v3.11\bin\light.exe" -b ".\src\bin\Release\netcoreapp2.0\win10-x64\publish" .\svn2gitnet-x64.wixobj | ||
|
||
"C:\Program Files (x86)\WiX Toolset v3.11\bin\heat.exe" dir ".\src\bin\Release\netcoreapp2.0\win10-x86\publish" -cg svn2gitnet -gg -sfrag -sreg -svb6 -template product -t svn2gitnet.xslt -out svn2gitnet-x86.wxs | ||
"C:\Program Files (x86)\WiX Toolset v3.11\bin\candle.exe" svn2gitnet-x86.wxs | ||
"C:\Program Files (x86)\WiX Toolset v3.11\bin\light.exe" -b ".\src\bin\Release\netcoreapp2.0\win10-x86\publish" .\svn2gitnet-x86.wixobj |
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,10 @@ | ||
#!/bin/bash | ||
|
||
set -e | ||
|
||
tar -zcvf ubuntu.16.04-x64.tar.gz ./src/bin/Release/netcoreapp2.0/ubuntu.16.04-x64/publish | ||
tar -zcvf centos.7-x64.tar.gz ./src/bin/Release/netcoreapp2.0/centos.7-x64/publish | ||
tar -zcvf debian.8-x64.tar.gz ./src/bin/Release/netcoreapp2.0/debian.8-x64/publish | ||
tar -zcvf fedora.24-x64.tar.gz ./src/bin/Release/netcoreapp2.0/fedora.24-x64/publish | ||
tar -zcvf rhel.7-x64.tar.gz ./src/bin/Release/netcoreapp2.0/rhel.7-x64/publish | ||
tar -zcvf osx.10.12-x64.tar.gz ./src/bin/Release/netcoreapp2.0/osx.10.12-x64/publish |
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
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,45 @@ | ||
<xsl:transform version="1.0" | ||
xmlns:xsl="http://www.w3.org/1999/XSL/Transform" | ||
xmlns:wix="http://schemas.microsoft.com/wix/2006/wi"> | ||
|
||
<xsl:output method="xml" version="1.0" encoding="utf-8" indent="yes"/> | ||
|
||
<xsl:template match="wix:Product/@Version"> | ||
<xsl:attribute name="Version">1.0.0.0</xsl:attribute> | ||
</xsl:template> | ||
|
||
<xsl:template match="wix:Product/@Manufacturer"> | ||
<xsl:attribute name="Manufacturer">Jingyu Ma</xsl:attribute> | ||
</xsl:template> | ||
|
||
<xsl:template match="wix:Product/@Name"> | ||
<xsl:attribute name="Name">Svn2Git.NET</xsl:attribute> | ||
</xsl:template> | ||
|
||
<xsl:template match="wix:Feature/@Title"> | ||
<xsl:attribute name="Title">Svn2Git.NET.Main</xsl:attribute> | ||
</xsl:template> | ||
|
||
<xsl:template match="wix:Product/wix:Directory/wix:Directory/@Id"> | ||
<xsl:attribute name="Id">APPLICATIONROOTDIRECTORY</xsl:attribute> | ||
</xsl:template> | ||
|
||
<xsl:template match="wix:Product/wix:Directory/wix:Directory/@Name"> | ||
<xsl:attribute name="Name">Svn2Git.NET</xsl:attribute> | ||
</xsl:template> | ||
|
||
<xsl:template match="wix:Product/wix:Directory/wix:Directory"> | ||
<Directory Id="ProgramFilesFolder" xmlns="http://schemas.microsoft.com/wix/2006/wi"> | ||
<xsl:copy> | ||
<xsl:apply-templates select="@*|node()" /> | ||
</xsl:copy> | ||
</Directory> | ||
</xsl:template> | ||
|
||
<xsl:template match="node() | @*"> | ||
<xsl:copy> | ||
<xsl:apply-templates select="@* | node()"/> | ||
</xsl:copy> | ||
</xsl:template> | ||
|
||
</xsl:transform> |