From 98881c589ca636fa21ab6eb09195d48c6adc111b Mon Sep 17 00:00:00 2001 From: IncoCode Date: Tue, 8 Sep 2015 23:48:45 +0300 Subject: [PATCH] Add appveyor.yml --- appveyor.yml | 36 ++++++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) create mode 100644 appveyor.yml diff --git a/appveyor.yml b/appveyor.yml new file mode 100644 index 0000000..e53f3a6 --- /dev/null +++ b/appveyor.yml @@ -0,0 +1,36 @@ +version: 1.0.0 Build {build} +branches: + only: + - master +os: Visual Studio 2015 +configuration: Release +platform: x64 +before_build: +- ps: >- + $original_file = 'Code\\EngineOverheat\\EngineOverheat.csproj' + + $destination_file = $original_file + + (Get-Content $original_file) | Foreach-Object { + $_ -replace 'copy \"\$\(ProjectDir\)\$\(OutDir\)\*.dll\" \"d:\\GAMES\\Steam\\Steam\\SteamApps\\common\\Grand Theft Auto V\\scripts\\\"', '' ` + } | Set-Content $destination_file + New-Item -ItemType File -Path Code\\EngineOverheat\\bin\\\Release\\README.txt -Force + + Copy-Item README.md Code\\EngineOverheat\\bin\\\Release\\README.txt -Recurse + + Copy-Item EngineOverheat.ini Code\\EngineOverheat\\bin\\\Release\\EngineOverheat.ini -Recurse +build: + project: Code\EngineOverheat.sln + verbosity: minimal +artifacts: +- path: Code\EngineOverheat\bin\Release\ + name: EngineOverheat +deploy: +- provider: GitHub + tag: v$(appveyor_build_version) + release: EngineOverheat v$(appveyor_build_version) + description: '' + auth_token: + secure: AGY0VbMye6wM50V01xIXQUn7RiJPukuP5OcD2jZCyK+xhpz86/g7zC3PXqNNIXZi + artifact: EngineOverheat + draft: true \ No newline at end of file