appveyor.yml 656 B

123456789101112131415161718192021222324
  1. version: 1.1.0.{build}
  2. install:
  3. - cmd: cinst nsis -y
  4. - cmd: RefreshEnv
  5. - ps: |
  6. $url='http://download.microsoft.com/download/7/B/6/7B629E05-399A-4A92-B5BC-484C74B5124B/dotNetFx40_Client_setup.exe'
  7. $exe=(Split-Path $url -Leaf)
  8. if (Test-Path $exe) {
  9. Write-Output "Using cached $exe"
  10. } else {
  11. Write-Output "No cached $exe, downloading $url"
  12. Start-FileDownload $url
  13. }
  14. assembly_info:
  15. patch: true
  16. configuration:
  17. - Debug
  18. - Release
  19. before_build:
  20. - nuget restore
  21. after_build:
  22. - makensis /DSSH_HANDLER_VERSION=$(version) /DSSH_HANDLER_CONFIGURATION=$(configuration) ssh-handler.nsi
  23. cache:
  24. - dotNetFx40_Client_setup.exe