Skip to content

Commit 8715357

Browse files
Mcrich23chenrui333
andcommitted
container-compose 0.5.0 (new formula)
Co-authored-by: Morris Richman <[email protected]> Co-authored-by: Rui Chen <[email protected]>
1 parent 04abb24 commit 8715357

File tree

1 file changed

+23
-0
lines changed

1 file changed

+23
-0
lines changed

Formula/c/container-compose.rb

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
class ContainerCompose < Formula
2+
desc "Manage Apple Container with Docker Compose files"
3+
homepage "https://github.com/mcrich23/container-compose"
4+
url "https://github.com/Mcrich23/container-compose/archive/refs/tags/0.5.0.tar.gz"
5+
sha256 "6a89d3c388762cf20a0ba421cf9096dd9995952083131decd9b06fdc87380d9e"
6+
license "MIT"
7+
head "https://github.com/mcrich23/container-compose.git", branch: "main"
8+
9+
depends_on xcode: ["26.0", :build]
10+
depends_on arch: :arm64
11+
depends_on macos: :sequoia
12+
depends_on :macos
13+
14+
def install
15+
system "swift", "build", "--disable-sandbox", "-c", "release"
16+
bin.install ".build/release/container-compose"
17+
end
18+
19+
test do
20+
output = shell_output("#{bin}/container-compose down 2>&1", 1)
21+
assert_match "compose.yml not found at #{testpath}", output
22+
end
23+
end

0 commit comments

Comments
 (0)