diff options
author | Dan Davison <dandavison7@gmail.com> | 2019-12-05 10:15:03 -0500 |
---|---|---|
committer | Dan Davison <dandavison7@gmail.com> | 2019-12-05 10:21:01 -0500 |
commit | ed347d3a0bbde42a1c3b7d7b9b67b8bfaa001752 (patch) | |
tree | a4b830280f7dba8f17be309425a52054619ad698 | |
parent | d90060f8d2a668546fe267d35f41c9d4d904240a (diff) |
Add homebrew check formula commands
-rw-r--r-- | Makefile | 9 |
1 files changed, 9 insertions, 0 deletions
@@ -18,6 +18,15 @@ test: release: cargo publish +brew: + cd $$(brew --repo homebrew/homebrew-core) && \ + brew uninstall --force git-delta && \ + brew install --build-from-source git-delta && \ + brew test git-delta && \ + brew uninstall --force git-delta && \ + brew install git-delta && \ + brew audit --strict git-delta + hash: @version=$$(grep version Cargo.toml | head -n1 | sed -E 's,.*version = "([^"]+)",\1,') && \ printf "$$version-tar.gz %s\n" $$(curl -sL https://github.com/dandavison/delta/archive/$$version.tar.gz | sha256sum -) && \ |