fork/livesplit-core

git clone https://git.julia.blue/fork/livesplit-core

Christopher SerrAllow Failing on Beta and Nightly on Appveyor963b475

v0.8.0
742 B28 linesraw
1# This script takes care of packaging the build artifacts that will go in the
2# release zipfile
3
4$SRC_DIR = $PWD.Path
5$STAGE = [System.Guid]::NewGuid().ToString()
6
7cd capi\bind_gen
8cargo run
9cd ..\..
10
11Set-Location $ENV:Temp
12New-Item -Type Directory -Name $STAGE
13Set-Location $STAGE
14
15$ZIP = "$SRC_DIR\$($Env:CRATE_NAME)-$($Env:APPVEYOR_REPO_TAG_NAME)-$($Env:TARGET).zip"
16
17Copy-Item "$SRC_DIR\capi\bindings" '.\' -recurse
18Copy-Item "$SRC_DIR\target\$($Env:TARGET)\release\livesplit_core_capi.dll" '.\livesplit_core.dll'
19Copy-Item "$SRC_DIR\target\$($Env:TARGET)\release\livesplit_core_capi.lib" '.\livesplit_core.lib'
20
217z a "$ZIP" *
22
23Push-AppveyorArtifact "$ZIP"
24
25Remove-Item *.* -Force
26Set-Location ..
27Remove-Item $STAGE
28Set-Location $SRC_DIR