Skip to content

Commit f5bd2e9

Browse files
authored
chore(homebrew): align formula template metadata
Keep the source Homebrew formula template aligned with the v0.21.2 tap formula metadata and Homebrew audit style.
1 parent f2cc271 commit f5bd2e9

1 file changed

Lines changed: 6 additions & 14 deletions

File tree

docs/homebrew/code-oz.rb.template

Lines changed: 6 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,14 @@
11
# typed: false
22
# frozen_string_literal: true
33

4-
# Formula template for the omerakben/homebrew-code-oz tap. Lives in this repo
5-
# so changes ride alongside the code that produces the release assets; the
6-
# rendered Formula/code-oz.rb file lives in the tap repo after substitution.
4+
# Formula source for the omerakben/homebrew-code-oz tap. Lives in this repo so
5+
# changes ride alongside the code that produces the release assets; the rendered
6+
# Formula/code-oz.rb file lives in the tap repo after substitution.
77
#
8-
# Substitute the __TOKEN__ placeholders below before publishing the formula:
9-
# sed -e "s/__VERSION__/0.20.0-alpha.0/g" \
10-
# -e "s/__SHA256_DARWIN_ARM64__/<sha>/" \
11-
# -e "s/__SHA256_DARWIN_X64__/<sha>/" \
12-
# -e "s/__SHA256_LINUX_ARM64__/<sha>/" \
13-
# -e "s/__SHA256_LINUX_X64__/<sha>/" \
14-
# docs/homebrew/code-oz.rb.template > /tmp/code-oz.rb
15-
# Then copy /tmp/code-oz.rb into omerakben/homebrew-code-oz/Formula/code-oz.rb,
16-
# `brew audit --strict --online Formula/code-oz.rb`, commit, push.
8+
# Render instructions live in docs/homebrew/README.md.
179

1810
class CodeOz < Formula
19-
desc "Repo-native agentic SDLC runtime — multi-agent software-company simulation CLI"
11+
desc "CI-style gates for AI coding agents"
2012
homepage "https://github.com/omerakben/code-oz"
2113
license "MIT"
2214
# NOTE: no explicit `version "..."` line — `brew audit --strict --online`
@@ -54,7 +46,7 @@ class CodeOz < Formula
5446
# Exercise `code-oz init` in Homebrew's per-test temp dir. Verifies the
5547
# binary boots, parses flags, and writes the expected init artifacts —
5648
# a stronger smoke than `code-oz --version` alone.
57-
system "#{bin}/code-oz", "init"
49+
system bin/"code-oz", "init"
5850
assert_predicate testpath/".code-oz", :directory?
5951
end
6052
end

0 commit comments

Comments
 (0)