Added proper errorlevels
parent
3a28e39816
commit
d6280bff6f
|
@ -14,7 +14,14 @@ printf "Updating templates..."
|
||||||
printf "Running prebuild..."
|
printf "Running prebuild..."
|
||||||
cd build
|
cd build
|
||||||
mono bin/Prebuild.exe /target nant
|
mono bin/Prebuild.exe /target nant
|
||||||
|
if [ $? -eq 0 ]
|
||||||
printf "Doing the build..."
|
if [ $? -eq 0 ]
|
||||||
nant
|
printf "Doing the build..."
|
||||||
|
nant
|
||||||
|
else
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
|
else
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue