Skip to content
This repository has been archived by the owner on Mar 23, 2018. It is now read-only.

Commit

Permalink
feat: inject dependencies into exe using LibZ
Browse files Browse the repository at this point in the history
closes #1
  • Loading branch information
cruikshj committed Apr 11, 2016
1 parent ba6740a commit a3302e0
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 5 deletions.
2 changes: 1 addition & 1 deletion Nautilus.nuspec
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,6 @@
<releaseNotes>https://github.com/Zywave/OctopusDeploy-Nautilus/blob/master/RELEASENOTES.md</releaseNotes>
</metadata>
<files>
<file src="nautilus\bin\Release\dnx451\win7-x64\*.*" target=""/>
<file src="nautilus\bin\Release\dnx451\win7-x64\nautilus.exe" target=""/>
</files>
</package>
14 changes: 10 additions & 4 deletions appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,15 +11,21 @@ build_script:
- ps: >-
dotnet build nautilus --configuration Release
$rnp = Resolve-Path(".\RELEASENOTES.md")
nuget install LibZ.Tool -Version 1.2.0
$rnc = [IO.File]::ReadAllText($rnp)
".\LibZ.Tool.1.2.0.0\tools\libz.exe" inject-dll --assembly ".\nautilus\bin\Release\dnx451\win7-x64\nautilus.exe" --include ".\nautilus\bin\Release\dnx451\win7-x64\*.dll" --move
Set-AppveyorBuildVariable -Name release_notes -Value $rnc
Get-ChildItem .\nautilus\bin\Release\dnx451\win7-x64\nautilus.exe | % { Push-AppveyorArtifact $_.FullName }
nuget pack Nautilus.nuspec -NoPackageAnalysis
Get-ChildItem .\Nautilus.*.nupkg | % { Push-AppveyorArtifact $_.FullName -DeploymentName Chocolatey }
$rnp = Resolve-Path(".\RELEASENOTES.md")
$rnc = [IO.File]::ReadAllText($rnp)
Set-AppveyorBuildVariable -Name release_notes -Value $rnc
deploy:
- provider: GitHub
description: $(release_notes)
Expand All @@ -34,4 +40,4 @@ deploy:
secure: wCneazo7/uf7Y9f4rDIFQ8z33kEWQGS/gcxPhQlB1X7mudqlLTGp5xeWCly3zZ4G
artifact: Chocolatey
on:
appveyor_repo_tag: true
appveyor_repo_tag: true

0 comments on commit a3302e0

Please sign in to comment.