mirror of
https://github.com/AmanTahiliani/homebrew-tools.git
synced 2026-12-05 14:54:41 -05:00
Initial commit
This commit is contained in:
commit
f8234cc1d0
1 file changed
+16
@@ -0,0 +1,16 @@
|
|||||||
|
class Todo < Formula
|
||||||
|
desc "A simple CLI todo application written in Go"
|
||||||
|
homepage "https://github.com/AmanTahiliani/todo"
|
||||||
|
version "v0.3.1-alpha"
|
||||||
|
license "MIT"
|
||||||
|
|
||||||
|
depends_on "go" => :build
|
||||||
|
|
||||||
|
def install
|
||||||
|
system "go", "build", "-o", bin/"todo", "./cmd/todo"
|
||||||
|
end
|
||||||
|
|
||||||
|
test do
|
||||||
|
system "#{bin}/todo", "--help"
|
||||||
|
end
|
||||||
|
end
|
||||||
Reference in new issue
Block a user