mirror of
https://github.com/vector-im/element-ios.git
synced 2024-09-28 23:32:41 +00:00
Don't check pod install has been run if we're only cleaning
This commit is contained in:
parent
90f5a2a813
commit
7b5aec0fe3
1 changed files with 5 additions and 6 deletions
|
@ -2,12 +2,6 @@
|
|||
|
||||
set -e
|
||||
|
||||
if [ ! -d "matrixConsole.xcworkspace" ]
|
||||
then
|
||||
echo "Please run pod install first"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
builddir="build"
|
||||
outdir="out"
|
||||
|
||||
|
@ -29,6 +23,11 @@ then
|
|||
$basecmd clean
|
||||
rm -r "$builddir" "$outdir" || true
|
||||
else
|
||||
if [ ! -d "matrixConsole.xcworkspace" ]
|
||||
then
|
||||
echo "Please run pod install first"
|
||||
exit 1
|
||||
fi
|
||||
$basecmd -archivePath "out/matrixConsole.xcarchive" archive GCC_PREPROCESSOR_DEFINITIONS="\$(GCC_PREPROCESSOR_DEFINITIONS) $vars" "$@"
|
||||
xcrun -sdk $sdk PackageApplication -v $outdir/matrixConsole.xcarchive/Products/Applications/matrixConsole.app -o `pwd`/out/matrixConsole.ipa
|
||||
fi
|
||||
|
|
Loading…
Reference in a new issue