2015-08-21 14:24:33 +00:00
|
|
|
#!/bin/bash -e
|
2019-01-19 04:37:51 +00:00
|
|
|
#
|
|
|
|
# script/bootstrap
|
|
|
|
# mas
|
|
|
|
#
|
2021-03-22 00:42:26 +00:00
|
|
|
# Installs development dependencies and builds project dependencies.
|
2019-01-19 04:37:51 +00:00
|
|
|
#
|
2015-08-21 14:24:33 +00:00
|
|
|
|
|
|
|
main() {
|
2020-04-25 20:07:28 +00:00
|
|
|
script/clean
|
|
|
|
|
2018-07-05 01:55:28 +00:00
|
|
|
echo "==> 👢 Bootstrapping"
|
2020-04-25 21:19:14 +00:00
|
|
|
|
2021-03-21 23:41:54 +00:00
|
|
|
# Install Homebrew tools
|
2021-03-21 23:47:47 +00:00
|
|
|
rm -f Brewfile.lock.json
|
2021-03-15 00:00:28 +00:00
|
|
|
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
|
2021-05-04 04:33:28 +00:00
|
|
|
fi
|
|
|
|
|
2021-04-29 05:56:34 +00:00
|
|
|
# Generate Package.swift
|
|
|
|
script/version
|
2015-08-21 14:24:33 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
main
|