2011-03-05 19:12:04 +00:00
|
|
|
require 'formula'
|
|
|
|
|
2011-03-10 05:11:03 +00:00
|
|
|
class TodoTxt < Formula
|
2011-10-07 16:08:32 +00:00
|
|
|
url 'https://github.com/downloads/ginatrapani/todo.txt-cli/todo.txt_cli-2.8.tar.gz'
|
2011-03-05 19:12:04 +00:00
|
|
|
homepage 'http://todotxt.com/'
|
2011-10-07 16:08:32 +00:00
|
|
|
md5 '065b848d0c300dd024a4ece86a68c0fa'
|
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
|
|
|
|
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
|