mirror of
https://github.com/mas-cli/mas
synced 2024-11-21 19:23:01 +00:00
Improve bootstrap
.
Partial #580 Signed-off-by: Ross Goldberg <484615+rgoldberg@users.noreply.github.com>
This commit is contained in:
parent
ac3d81ed83
commit
f08f0a37d7
1 changed files with 9 additions and 16 deletions
|
@ -13,22 +13,15 @@ if ! cd -- "${mas_dir}"; then
|
|||
exit 1
|
||||
fi
|
||||
|
||||
main() {
|
||||
script/clean
|
||||
script/clean
|
||||
|
||||
printf $'==> 👢 Bootstrapping\n'
|
||||
printf $'==> 👢 Bootstrapping (%s)\n' "$(script/version)"
|
||||
|
||||
# Install Homebrew tools
|
||||
rm -f Brewfile.lock.json
|
||||
brew bundle install --no-upgrade --verbose
|
||||
# Install Homebrew tools
|
||||
rm -f Brewfile.lock.json
|
||||
brew bundle install --no-upgrade --verbose
|
||||
|
||||
# Already installed on GitHub Actions runner.
|
||||
if [[ ! -x "$(command -v swiftlint)" ]]; then
|
||||
brew install swiftlint
|
||||
fi
|
||||
|
||||
# Generate Package.swift
|
||||
script/version
|
||||
}
|
||||
|
||||
main
|
||||
# swiftlint is already installed on GitHub Actions runners.
|
||||
if [[ ! -x "$(command -v swiftlint)" ]]; then
|
||||
brew install swiftlint
|
||||
fi
|
||||
|
|
Loading…
Reference in a new issue