fork/livesplit-core
git clone https://git.julia.blue/fork/livesplit-core
102967b
v0.5.1
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 17# TODO Update this to package the right artifacts 18Copy-Item " $SRC_DIR \capi\bindings" '.\' -recurse 19Copy-Item " $SRC_DIR \target\$( $Env:TARGET )\release\livesplit_core_capi.dll" '.\livesplit_core.dll' 20Copy-Item " $SRC_DIR \target\$( $Env:TARGET )\release\livesplit_core_capi.lib" '.\livesplit_core.lib' 21 227z a" $ZIP " * 23 24Push-AppveyorArtifact " $ZIP " 25 26Remove-Item *.* -Force 27Set-Location .. 28Remove-Item $STAGE 29Set-Location $SRC_DIR