1
0
mirror of https://github.com/Radarr/Radarr.git synced 2024-08-15 14:59:44 +02:00

@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 - 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

View File

@ -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