diff options
author | Teddy Wing | 2020-08-06 21:22:58 +0200 |
---|---|---|
committer | Teddy Wing | 2020-08-06 21:40:05 +0200 |
commit | 737fe675fe0f842f9a4f288fdc29dcf58480bc53 (patch) | |
tree | 1b600352ebe02debf8ecaa163018abc761ac7161 | |
parent | cd1ad653aebc8a4bac2e065358762f465e4032e7 (diff) | |
download | homebrew-formulae-737fe675fe0f842f9a4f288fdc29dcf58480bc53.tar.bz2 |
git-suggestion 0.1.0
-rw-r--r-- | HomebrewFormula/git-suggestion.rb | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/HomebrewFormula/git-suggestion.rb b/HomebrewFormula/git-suggestion.rb new file mode 100644 index 0000000..bc22605 --- /dev/null +++ b/HomebrewFormula/git-suggestion.rb @@ -0,0 +1,20 @@ +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at https://mozilla.org/MPL/2.0/. + +class GitSuggestion < Formula + desc "Diffs and patches for GitHub pull request suggestions" + homepage "https://github.com/teddywing/git-suggestion" + url "https://github.com/teddywing/git-suggestion/releases/download/v0.1.0/git-suggestion_0.1.0_x86_64-apple-darwin.tar.bz2" + sha256 "8cc72eed7c98372242026039b43301e121c2e92d8aa374f24f9bd89b1638ff74" + + def install + bin.install Dir["bin/*"] + man1.install Dir["share/man/man1/*"] + end + + test do + assert_equal version, shell_output("git sugapply --version").strip + assert_equal version, shell_output("git sugpatch --version").strip + end +end |