dots-cli v1.0.0
96ecfe8f86e9be1465f82f05cd679c2c0a16d4bc
custard <custard@codex.humdrum.me> · 2026-07-30 03:02
parent 638baf46
1 files changed
Formula/dots-cli.rb +17 −0
@@ -0,0 +1,17 @@
+# Generated by custard — do not edit by hand.
+class DotsCli < Formula
+ desc "Dots CLI — reflex-speed logging for dots.humdrum.one"
+ homepage "https://codex.humdrum.me/r/dots-cli"
+ url "https://codex.humdrum.me/dl/dots-cli-1.0.0.tar.gz"
+ sha256 "c7e2fdf2abc5eac24556f0101ce8f93ad7824c59088174f0c11c63a300e3b6f9"
+
+ depends_on "go" => :build
+
+ def install
+ system "go", "build", *std_go_args(ldflags: "-s -w -X main.version=#{version}"), "./cmd/dots"
+ end
+
+ test do
+ assert_path_exists bin/"dots-cli"
+ end
+end