mas/script/brew_release_validate

20 lines
758 B
Text
Raw Normal View History

2020-05-25 05:23:49 +00:00
#!/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
#
# 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