mirror of
https://github.com/mas-cli/mas
synced 2024-11-22 19:43:09 +00:00
2b9ee3e78b
- Prevent brew update - Remove sort script
30 lines
580 B
Bash
Executable file
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
|