tt v0.0.1
bacf639402654fda84806e0dc1ea775287ddff29
custard <custard@codex.humdrum.me> · 2026-07-08 15:17
parent 9674d43c
1 files changed
Formula/tt.rb +18 −0
@@ -0,0 +1,18 @@
+# Generated by custard — do not edit by hand.
+class Tt < Formula
+ desc "Charm-native front-end for the tock time tracker"
+ homepage "https://codex.humdrum.me/r/tt"
+ url "https://codex.humdrum.me/dl/tt-0.0.1.tar.gz"
+ sha256 "6ce57b0cd11adfeb6fb314eeee552f7d19649d264b7255bd9a0e3a28d1a94c76"
+ license "AGPL-3.0-or-later"
+
+ depends_on "go" => :build
+
+ def install
+ system "go", "build", *std_go_args(ldflags: "-s -w -X main.version=#{version}"), "./cmd/ticktock"
+ end
+
+ test do
+ assert_path_exists bin/"tt"
+ end
+end