Made Production Ready

This commit is contained in:
2025-05-22 23:51:27 -04:00
parent 40d1fa64b8
commit 91ab19fc02
6 changed files with 125 additions and 58 deletions

16
Formula/todo.rb Normal file
View File

@@ -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