ultralist: renamed from todolist
Closes #36934. Signed-off-by: FX Coudert <fxcoudert@gmail.com>master
parent
9cdf90f265
commit
b6c4d8558f
|
@ -1,31 +0,0 @@
|
|||
class Todolist < Formula
|
||||
desc "Very fast, simple task manager for the command-line, based upon GTD"
|
||||
homepage "http://todolist.site"
|
||||
url "https://github.com/gammons/todolist/archive/v0.8.1.tar.gz"
|
||||
sha256 "b3eaf0a06ef212396b6b45990cf8d6a8451341b6e48d9be577bb7e457a6b4edd"
|
||||
|
||||
bottle do
|
||||
cellar :any_skip_relocation
|
||||
sha256 "aa40fd0ed74a2a449935ec063459691f82fc1855e8fe2b24a1cb220a9a434baf" => :mojave
|
||||
sha256 "914d32b92a0fa0421856f0068a36f4d4b87769ec7919f05c110b124457372319" => :high_sierra
|
||||
sha256 "b3068ed4422f44173357d953a2dcc469f89f45808d7517c709558dbf26fda12f" => :sierra
|
||||
sha256 "519e69368b87773607ef70616bdf4fbd250c715f1c16bcce00e134784dd7fe24" => :el_capitan
|
||||
end
|
||||
|
||||
depends_on "go" => :build
|
||||
depends_on "govendor" => :build
|
||||
|
||||
def install
|
||||
ENV["GOPATH"] = buildpath
|
||||
(buildpath/"src/github.com/gammons/").mkpath
|
||||
ln_s buildpath, buildpath/"src/github.com/gammons/todolist"
|
||||
system "go", "build", "-o", bin/"todolist", "./src/github.com/gammons/todolist"
|
||||
end
|
||||
|
||||
test do
|
||||
system bin/"todolist", "init"
|
||||
assert_predicate testpath/".todos.json", :exist?
|
||||
add_task = shell_output("#{bin}/todolist add learn the Tango")
|
||||
assert_match /Todo.* added/, add_task
|
||||
end
|
||||
end
|
|
@ -0,0 +1,22 @@
|
|||
class Ultralist < Formula
|
||||
desc "Simple GTD-style task management for the command-line"
|
||||
homepage "https://ultralist.io"
|
||||
url "https://github.com/ultralist/ultralist/archive/0.9.2.1.tar.gz"
|
||||
sha256 "6662174315a4551ccd395f271c1a456ff982e56c653f8ef4cbbaa6649b4d7475"
|
||||
|
||||
depends_on "go" => :build
|
||||
|
||||
def install
|
||||
ENV["GOPATH"] = buildpath
|
||||
(buildpath/"src/github.com/ultralist/").mkpath
|
||||
ln_s buildpath, buildpath/"src/github.com/ultralist/ultralist"
|
||||
system "go", "build", "-o", bin/"ultralist", "./src/github.com/ultralist/ultralist"
|
||||
end
|
||||
|
||||
test do
|
||||
system bin/"ultralist", "init"
|
||||
assert_predicate testpath/".todos.json", :exist?
|
||||
add_task = shell_output("#{bin}/ultralist add learn the Tango")
|
||||
assert_match /Todo.* added/, add_task
|
||||
end
|
||||
end
|
|
@ -182,6 +182,7 @@
|
|||
"tensorflow": "libtensorflow",
|
||||
"thrift@0.90": "thrift@0.9",
|
||||
"thrift090": "thrift@0.90",
|
||||
"todolist": "ultralist",
|
||||
"tomcat6": "tomcat@6",
|
||||
"tomcat7": "tomcat@7",
|
||||
"transfig": "fig2dev",
|
||||
|
|
Loading…
Reference in New Issue