2011-03-05 19:12:04 +00:00
|
|
|
require 'formula'
|
|
|
|
|
2011-03-10 05:11:03 +00:00
|
|
|
class TodoTxt < Formula
|
2011-03-05 19:12:04 +00:00
|
|
|
homepage 'http://todotxt.com/'
|
2014-04-21 13:02:41 +00:00
|
|
|
url "https://github.com/ginatrapani/todo.txt-cli/releases/download/v2.10/todo.txt_cli-2.10.tar.gz"
|
|
|
|
sha1 "3967bc42ca23cc984e94939b783cf118fe86b1b0"
|
2012-05-05 21:37:36 +00:00
|
|
|
|
2011-10-10 20:17:11 +00:00
|
|
|
head 'https://github.com/ginatrapani/todo.txt-cli.git'
|
2011-03-05 19:12:04 +00:00
|
|
|
|
|
|
|
def install
|
|
|
|
bin.install 'todo.sh'
|
|
|
|
prefix.install 'todo.cfg' # Default config file
|
2013-05-03 18:03:31 +00:00
|
|
|
bash_completion.install 'todo_completion'
|
2011-03-05 19:12:04 +00:00
|
|
|
end
|
2012-08-14 02:19:43 +00:00
|
|
|
|
|
|
|
def caveats; <<-EOS.undent
|
|
|
|
To configure, copy the default config to your HOME and edit it:
|
|
|
|
cp #{prefix}/todo.cfg ~/.todo.cfg
|
|
|
|
EOS
|
|
|
|
end
|
2011-03-05 19:12:04 +00:00
|
|
|
end
|