Last active
November 24, 2015 21:30
-
-
Save vasarhelyia/ecc7e6391b574cc31064 to your computer and use it in GitHub Desktop.
bitrise_step_sh
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
set -e | |
NO_USE_BINARIES="" | |
VERBOSE_MODE="" | |
if [[ "${no_use_binaries}" == "true" ]] ; then | |
NO_USE_BINARIES='--no-use-binaries' | |
fi | |
if [[ "${verbose_output}" == "true" ]] ; then | |
VERBOSE_MODE='--verbose' | |
fi | |
if [ ! -z "${working_dir}" ] ; then | |
echo "==> Switching to working directory: ${working_dir}" | |
cd "${working_dir}" | |
if [ $? -ne 0 ] ; then | |
echo " [!] Failed to switch to working directory: ${working_dir}" | |
exit 1 | |
fi | |
fi | |
brew update && brew install carthage | |
carthage "${carthage_command}" --platform iOS ${NO_USE_BINARIES} ${VERBOSE_MODE} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment