homebrew-core/Formula/todo-txt.rb

21 lines
516 B
Ruby
Raw Normal View History

require 'formula'
2011-03-10 05:11:03 +00:00
class TodoTxt < Formula
homepage 'http://todotxt.com/'
url 'https://github.com/downloads/ginatrapani/todo.txt-cli/todo.txt_cli-2.9.tar.gz'
md5 'e815c63ab4e46285f0b0a30b7bac7918'
head 'https://github.com/ginatrapani/todo.txt-cli.git'
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