Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
AppVeyor: we still need CoApp to create nupkg
  • Loading branch information
edenhill committed May 27, 2019
1 parent 5b44858 commit bea9db6
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
1 change: 1 addition & 0 deletions .appveyor.yml
Expand Up @@ -9,6 +9,7 @@ environment:
- platform: win32
install:
- ps: "& .\\win32\\install-openssl.ps1"
- ps: "& .\\win32\\install-coapp.ps1"
cache:
- c:\OpenSSL-Win32
- c:\OpenSSL-Win64
Expand Down
11 changes: 11 additions & 0 deletions win32/install-coapp.ps1
@@ -0,0 +1,11 @@
# Download the CoApp tools.
$msiPath = "$($env:USERPROFILE)\\CoApp.Tools.Powershell.msi"

(New-Object Net.WebClient).DownloadFile('http://coapp.org/files/CoApp.Tools.Powershell.msi', $msiPath)

# Install the CoApp tools from the downloaded .msi.
Start-Process -FilePath msiexec -ArgumentList /i, $msiPath, /quiet -Wait

# Make the tools available for later PS scripts to use.
$env:PSModulePath = $env:PSModulePath + ';C:\\Program Files (x86)\\Outercurve Foundation\\Modules'
Import-Module CoApp

0 comments on commit bea9db6

Please sign in to comment.