aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMayeutik2011-03-05 20:12:04 +0100
committerAdam Vandenberg2011-03-05 11:35:26 -0800
commit69d9c6fbeef387fd7822ab52ca55cd261d171fef (patch)
treed803ddf1e4cf2aec24845a6b4deffbd7a384f43d
parent9791c56c2da95ab5818ff07d560e6a290f93fcde (diff)
downloadhomebrew-69d9c6fbeef387fd7822ab52ca55cd261d171fef.tar.bz2
Todo.txt 2.7
Todo.txt is a todo list manager in CLI using a simple txt file. Signed-off-by: Adam Vandenberg <flangy@gmail.com>
-rw-r--r--Library/Formula/todo-txt.rb18
1 files changed, 18 insertions, 0 deletions
diff --git a/Library/Formula/todo-txt.rb b/Library/Formula/todo-txt.rb
new file mode 100644
index 000000000..602d91caa
--- /dev/null
+++ b/Library/Formula/todo-txt.rb
@@ -0,0 +1,18 @@
+require 'formula'
+
+class TodoTxt <Formula
+ url 'https://github.com/downloads/ginatrapani/todo.txt-cli/todo.txt_cli-2.7.tar.gz'
+ homepage 'http://todotxt.com/'
+ md5 'b4ef313bbb8f185fe4a21ce07ad6933d'
+
+ def install
+ bin.install 'todo.sh'
+ prefix.install 'todo.cfg' # Default config file
+ end
+
+ def caveats; <<-EOS.undent
+ To configure, copy the default config to your home and edit it:
+ cp #{prefix}/todo.cfg ~/.todo.cfg
+ EOS
+ end
+end