mirror of
https://github.com/AmanTahiliani/todo.git
synced 2026-12-05 12:34:41 -05:00
Made Production Ready
This commit is contained in:
1 parent
40d1fa64b8
commit
91ab19fc02
6 files changed
+125
-58
No files matched your search
@@ -0,0 +1,16 @@
|
||||
class Todo < Formula
|
||||
desc "A simple CLI todo application written in Go"
|
||||
homepage "https://github.com/AmanTahiliani/todo"
|
||||
version "0.1.0"
|
||||
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