mirror of
https://github.com/AmanTahiliani/homebrew-tools.git
synced 2026-08-07 19:56:19 -04:00
Initial commit
This commit is contained in:
16
Formula/todo.rb
Normal file
16
Formula/todo.rb
Normal file
@@ -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