mirror of
https://github.com/mas-cli/mas
synced 2024-11-25 13:00:23 +00:00
📜 Add brew_release_validate script
This commit is contained in:
parent
35575ff962
commit
014bf6a8be
1 changed files with 21 additions and 0 deletions
21
script/brew_release_validate
Executable file
21
script/brew_release_validate
Executable file
|
@ -0,0 +1,21 @@
|
|||
#!/bin/bash
|
||||
#
|
||||
# script/brew_release_validate
|
||||
# mas
|
||||
#
|
||||
# Validates the mas formula
|
||||
# https://github.com/Homebrew/homebrew-core/blob/master/CONTRIBUTING.md#to-contribute-a-fix-to-the-foo-formula
|
||||
#
|
||||
|
||||
BREW_CORE_PATH="$(brew --prefix)/Homebrew/Library/Taps/homebrew/homebrew-core/Formula"
|
||||
|
||||
# Purge the Carthage cache to avoid this error from Homebrew sandboxing:
|
||||
# A shell task (/usr/bin/env git checkout --quiet --force 0.15.0 (launched in /Users/ben/Library/Caches/org.carthage.CarthageKit/dependencies/Commandant)) failed with exit code 128:
|
||||
# fatal: Unable to create '/Users/ben/Library/Caches/org.carthage.CarthageKit/dependencies/Commandant/./index.lock': Operation not permitted
|
||||
rm -rf ~/Library/Caches/org.carthage.CarthageKit
|
||||
|
||||
brew uninstall --force mas
|
||||
brew install --build-from-source mas
|
||||
brew test mas
|
||||
brew audit --strict mas
|
||||
brew style mas
|
Loading…
Reference in a new issue