mas/script/bootstrap

28 lines
455 B
Text
Raw Normal View History

#!/bin/bash -e
#
# script/bootstrap
# mas
#
2021-03-22 00:42:26 +00: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-29 05:56:34 +00:00
2021-06-09 01:56:27 +00:00
# Already installed on GitHub Actions runner.
if [[ ! -x "$(command -v swiftlint)" ]]; then
brew install swiftlint
fi
2021-04-29 05:56:34 +00:00
# Generate Package.swift
script/version
}
main