commit f8234cc1d0774b675abd3381d58332271c5edbbc Author: amantahiliani Date: Fri May 23 00:19:09 2025 -0400 Initial commit diff --git a/Formula/todo.rb b/Formula/todo.rb new file mode 100644 index 0000000..4a774b4 --- /dev/null +++ b/Formula/todo.rb @@ -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 \ No newline at end of file