diff options
author | Teddy Wing | 2019-12-09 21:52:22 +0100 |
---|---|---|
committer | Teddy Wing | 2019-12-09 21:52:22 +0100 |
commit | d72006b6562c32d5fd074ae962f8af160a929f75 (patch) | |
tree | f4e35e99e8193ae331e7578f00549b007c2aead7 /Homebrew/git-branch-list.rb | |
parent | b99347aaad5501120493da60ea89c00869604922 (diff) | |
download | git-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
Diffstat (limited to 'Homebrew/git-branch-list.rb')
-rw-r--r-- | Homebrew/git-branch-list.rb | 23 |
1 files changed, 0 insertions, 23 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 |