Skip to content

Commit ebce2f6

Browse files
authored
Merge pull request #246849 from Mcrich23/add-container-compose
container-compose 0.5.0 (new formula)
2 parents ad08df3 + e6d26ae commit ebce2f6

File tree

1 file changed

+27
-0
lines changed

1 file changed

+27
-0
lines changed

Formula/c/container-compose.rb

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
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+
bottle do
10+
sha256 arm64_tahoe: "0d34c45230d457ddb5cc2398256e90e43eb37a5d01f00d97a432f6fe7e896fc3"
11+
end
12+
13+
depends_on xcode: ["26.0", :build]
14+
depends_on arch: :arm64
15+
depends_on macos: :sequoia
16+
depends_on :macos
17+
18+
def install
19+
system "swift", "build", "--disable-sandbox", "-c", "release"
20+
bin.install ".build/release/container-compose"
21+
end
22+
23+
test do
24+
output = shell_output("#{bin}/container-compose down 2>&1", 1)
25+
assert_match "compose.yml not found at #{testpath}", output
26+
end
27+
end

0 commit comments

Comments
 (0)