mas/script/bootstrap

31 lines
580 B
Text
Raw Normal View History

#!/bin/bash -e
#
# script/bootstrap
# mas
#
# Installs gem tools, installs Swift dependencies via CocoaPods and sorts
# the Xcode project file references.
#
main() {
script/clean
echo "==> 👢 Bootstrapping"
# Install ruby tools
bundle install
# Install Mint and shellcheck
brew bundle install --no-upgrade --verbose
# Set up mint cache to be relative to user HOME
export MINT_PATH=~/.mint/cache
mkdir -p $MINT_PATH
2021-03-14 16:45:02 -07:00
mint bootstrap --link --verbose
# Download and build project dependencies
2018-09-05 09:45:01 +10:00
carthage bootstrap --platform macOS --cache-builds
}
main