@cosmetic fixed build

Leonardo Galli 7 years ago
parent c460153e66
commit 2f271635f9

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

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

Loading…
Cancel
Save