mas/script/bootstrap
Ben Chatelain 2b9ee3e78b 👷🏻 Fixes for CI bootstrap
- Prevent brew update
- Remove sort script
2021-03-14 17:00:28 -07:00

30 lines
580 B
Bash
Executable file

#!/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
mint bootstrap --link --verbose
# Download and build project dependencies
carthage bootstrap --platform macOS --cache-builds
}
main