blob: 3acd8e76258891a0b98554e254bb2bb112dfe387 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
require 'formula'
class TodoTxt < Formula
homepage 'http://todotxt.com/'
url "https://github.com/ginatrapani/todo.txt-cli/releases/download/v2.10/todo.txt_cli-2.10.tar.gz"
sha1 "3967bc42ca23cc984e94939b783cf118fe86b1b0"
head 'https://github.com/ginatrapani/todo.txt-cli.git'
def install
bin.install 'todo.sh'
prefix.install 'todo.cfg' # Default config file
bash_completion.install 'todo_completion'
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
|