@cosmetic fixed build

This commit is contained in:
Leonardo Galli 2018-02-12 17:37:11 +01:00
parent c460153e66
commit 2f271635f9
2 changed files with 13 additions and 7 deletions

View File

@ -8,8 +8,11 @@ jobs:
- checkout
- run: git submodule update --init --recursive
- run:
name: Prepare Build
command: ./build.sh PrepareBuild
name: Clean Build
command: ./build.sh Clean
- run:
name: Restore Nuget
command: ./build.sh NugetMono
- run:
name: Build
command: ./build.sh Build

View File

@ -277,27 +277,30 @@ if [ $# -eq 0 ]
PackageOsxApp
PackageTests
CleanupWindowsPackage
exit 0
fi
if [ "$1" -eq "PrepareBuild" ]
if [ "$1" = "CleanXbuild" ]
then rm -rf $outputFolder
CleanWithXbuild
fi
if [ "$1" = "NugetMono" ]
then rm -rf $outputFolder
RestoreNuget
fi
if [ "$1" -eq "Build" ]
if [ "$1" = "Build" ]
then BuildWithXbuild
CleanFolder $outputFolder false
AddJsonNet
rm $outputFolder/Mono.Posix.dll
fi
if [ "$1" -eq "Gulp" ]
if [ "$1" = "Gulp" ]
then RunGulp
fi
if [ "$1" -eq "Package" ]
if [ "$1" = "Package" ]
then PackageMono
PackageOsx
PackageOsxApp