aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTeddy Wing2020-10-03 20:32:33 +0200
committerTeddy Wing2020-10-03 20:32:33 +0200
commit724e348d5045f0fb52f9c4330fa80bcd17216e02 (patch)
treea7d28b9d80a389bc891c9201194afdcf5e289a7c
parent99dc2accdf3275abc55a459a60e0c3536b26f70d (diff)
downloadhomebrew-formulae-724e348d5045f0fb52f9c4330fa80bcd17216e02.tar.bz2
git-todo 0.0.1
-rw-r--r--HomebrewFormula/git-todo.rb19
1 files changed, 19 insertions, 0 deletions
diff --git a/HomebrewFormula/git-todo.rb b/HomebrewFormula/git-todo.rb
new file mode 100644
index 0000000..605515d
--- /dev/null
+++ b/HomebrewFormula/git-todo.rb
@@ -0,0 +1,19 @@
+# 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 GitTodo < Formula
+ desc "Find recent TODO lines in a Git repository"
+ homepage "https://github.com/teddywing/git-todo"
+ url "https://github.com/teddywing/git-todo/releases/download/v0.0.1/git-todo_0.0.1_x86_64-apple-darwin.tar.bz2"
+ sha256 "3fe702ea8f3ba8dc94cdb3653c21c42910cc1c4cd6eac0414978ef966a8e1995"
+
+ def install
+ bin.install Dir["bin/*"]
+ man1.install Dir["share/man/man1/*"]
+ end
+
+ test do
+ assert_equal version, shell_output("git todo --version").strip
+ end
+end