aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTeddy Wing2019-12-09 21:52:22 +0100
committerTeddy Wing2019-12-09 21:52:22 +0100
commitd72006b6562c32d5fd074ae962f8af160a929f75 (patch)
treef4e35e99e8193ae331e7578f00549b007c2aead7
parentb99347aaad5501120493da60ea89c00869604922 (diff)
downloadgit-branch-list-d72006b6562c32d5fd074ae962f8af160a929f75.tar.bz2
Migrate Homebrew formula to teddywing/formulae
Use my recent Homebrew tap to install the package instead of the formula tracked in this repo. This makes the install command shorter, and enables easy upgrades of package (with `brew upgrade git-branch-list`). The new install formula (copied from the one in this repo) has moved here: https://github.com/teddywing/homebrew-formulae/blob/b21a00cf4/HomebrewFormula/git-branch-list.rb
-rw-r--r--Homebrew/git-branch-list.rb23
-rw-r--r--README.md6
2 files changed, 3 insertions, 26 deletions
diff --git a/Homebrew/git-branch-list.rb b/Homebrew/git-branch-list.rb
deleted file mode 100644
index 23866c9..0000000
--- a/Homebrew/git-branch-list.rb
+++ /dev/null
@@ -1,23 +0,0 @@
-class GitBranchList < Formula
- desc "Maintains a list of Git branches that can be checked out quickly"
- homepage "https://github.com/teddywing/git-branch-list"
- url "https://github.com/teddywing/git-branch-list/archive/v0.1.2.tar.gz"
- sha256 "423172ecbb79093060eeca85c31fc8e837ec5733f7244cbc22f36b879062a330"
-
- def install
- bin.install "git-branch-list"
- bash_completion.install "git-branch-list.bash-completion" => "git-branch-list"
- end
-
- def caveats; <<~EOS
- To enable tab completion, add the following to your bash profile:
-
- source #{etc}/bash_completion.d/git-branch-list
- EOS
- end
-
- test do
- assert_equal "nl: .git/info/git-branch-list: No such file or directory",
- shell_output("git branch-list 2>&1", 1).strip
- end
-end
diff --git a/README.md b/README.md
index 973f67e..a472433 100644
--- a/README.md
+++ b/README.md
@@ -40,7 +40,7 @@ names.
## Install
Mac OS X users can install with Homebrew:
- $ brew install https://raw.githubusercontent.com/teddywing/git-branch-list/master/Homebrew/git-branch-list.rb
+ $ brew install teddywing/formulae/git-branch-list
On other platforms, grab the code and put the `git-branch-list` script in your
`PATH`. Bash completion can be added by sourcing the
@@ -48,5 +48,5 @@ On other platforms, grab the code and put the `git-branch-list` script in your
## License
-Copyright © 2018 Teddy Wing. Licensed under the GNU GPLv3+ (see the included
-COPYING file).
+Copyright © 2018–2019 Teddy Wing. Licensed under the GNU GPLv3+ (see the
+included COPYING file).