🐛 Set MINT_PATH so jenkins user can install to dir it owns

This commit is contained in:
Ben Chatelain 2020-04-25 15:19:14 -06:00
parent 0b29f13803
commit 7437d8183b
3 changed files with 14 additions and 6 deletions

View file

@ -12,8 +12,5 @@ insert_final_newline = true
[*.md] [*.md]
trim_trailing_whitespace = false trim_trailing_whitespace = false
[*.rb] [{script/*,*.rb,*.yml}]
indent_size = 2
[*.yml]
indent_size = 2 indent_size = 2

View file

@ -44,9 +44,9 @@
"system": { "system": {
"macos": { "macos": {
"catalina": { "catalina": {
"HOMEBREW_VERSION": "2.2.13-122-g20f7f26", "HOMEBREW_VERSION": "2.2.13",
"HOMEBREW_PREFIX": "/usr/local", "HOMEBREW_PREFIX": "/usr/local",
"Homebrew/homebrew-core": "7bab196596401ff4d88ae36c354ad4b2c7da43b7", "Homebrew/homebrew-core": "474ad1d25ce77de5836bfbe9824716667f853797",
"CLT": "11.4.1.0.1.1586360307", "CLT": "11.4.1.0.1.1586360307",
"Xcode": "11.4.1", "Xcode": "11.4.1",
"macOS": "10.15.4" "macOS": "10.15.4"

View file

@ -11,11 +11,22 @@ main() {
script/clean script/clean
echo "==> 👢 Bootstrapping" echo "==> 👢 Bootstrapping"
# Install ruby tools
bundle install bundle install
# Install Mint and shellcheck
brew bundle install --verbose brew bundle install --verbose
# Set up mint cache to be relative to user HOME
export MINT_PATH=~/.mint/cache
mkdir -p $MINT_PATH
mint bootstrap --verbose mint bootstrap --verbose
# Download and build project dependencies
carthage bootstrap --platform macOS --cache-builds carthage bootstrap --platform macOS --cache-builds
# Old Xcode project sort script used for CocoaSeeds
script/sort script/sort
} }