Skip to content

Commit

Permalink
Create appveyor.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
BinaryConstruct authored Dec 13, 2016
1 parent f26c4e4 commit 534f15d
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions appveyor.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
version: 3.9.0.{build}
branches:
only:
- master
skip_tags: true
clone_depth: 1
init:
- ps: Update-AppveyorBuild -Version "3.9.$(Get-Date -uformat %y%j).$env:appveyor_build_number"
environment:
github_release_title: TEdit 3.9 for Terraria 1.3.3
build_script:
- ps: "Write-Host \"Building Solution...\"\n$msbuild=\"C:\\Windows\\Microsoft.NET\\Framework\\v4.0.30319\\MSBuild.exe\"\n$nuget=\".\\.nuget\\nuget.exe\"\n\n& $nuget ('restore', '.\\TEditNoInstaller.sln')\n& $msbuild ('.\\TEditNoInstaller.sln', '/p:Configuration=Release;Platform=\"Any CPU\"', '/verbosity:m')\n\n$version = \"v$env:APPVEYOR_BUILD_VERSION\"\n$version | Out-File teditversion.txt\n\n$source = \"$env:APPVEYOR_BUILD_FOLDER\\TEditXna\\bin\\Release\"\n$destination = \"$env:APPVEYOR_BUILD_FOLDER\\TEdit3_$version.zip\"\n\nWrite-Host \"Zipping $source ...\" -ForegroundColor Yellow\nIf(Test-path $destination) {\n Remove-item $destination\n}\n\nAdd-Type -assembly \"system.io.compression.filesystem\"\n[io.compression.zipfile]::CreateFromDirectory($Source, $destination) \n\nWrite-Host \"Created $destination.\" -ForegroundColor Green"
artifacts:
- path: TEdit*.zip
- path: teditversion.txt
name: BinaryConstruct FTP
deploy:
- provider: Environment
name: BinaryConstruct FTP
- provider: Environment
name: Github TEdit Releases

0 comments on commit 534f15d

Please sign in to comment.