mas/script/bootstrap

28 lines
455 B
Text
Raw Normal View History

#!/bin/bash -e
#
# script/bootstrap
# mas
#
2021-03-21 17:42:26 -07:00
# Installs development dependencies and builds project dependencies.
#
main() {
script/clean
echo "==> 👢 Bootstrapping"
# Install Homebrew tools
rm -f Brewfile.lock.json
brew bundle install --no-upgrade --verbose
2021-04-28 22:56:34 -07:00
2021-06-08 18:56:27 -07:00
# Already installed on GitHub Actions runner.
if [[ ! -x "$(command -v swiftlint)" ]]; then
brew install swiftlint
fi
2021-04-28 22:56:34 -07:00
# Generate Package.swift
script/version
}
main