|
1 | 1 | # typed: false |
2 | 2 | # frozen_string_literal: true |
3 | 3 |
|
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. |
7 | 7 | # |
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. |
17 | 9 |
|
18 | 10 | 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" |
20 | 12 | homepage "https://github.com/omerakben/code-oz" |
21 | 13 | license "MIT" |
22 | 14 | # NOTE: no explicit `version "..."` line — `brew audit --strict --online` |
@@ -54,7 +46,7 @@ class CodeOz < Formula |
54 | 46 | # Exercise `code-oz init` in Homebrew's per-test temp dir. Verifies the |
55 | 47 | # binary boots, parses flags, and writes the expected init artifacts — |
56 | 48 | # a stronger smoke than `code-oz --version` alone. |
57 | | - system "#{bin}/code-oz", "init" |
| 49 | + system bin/"code-oz", "init" |
58 | 50 | assert_predicate testpath/".code-oz", :directory? |
59 | 51 | end |
60 | 52 | end |
0 commit comments