Skip to content

Commit

Permalink
Add versioned formula for 0.5.0-beta
Browse files Browse the repository at this point in the history
Closes #30.

Signed-off-by: Bryan Xavier <[email protected]>
  • Loading branch information
bmxav committed Jul 18, 2024
1 parent 1cf2ffd commit 032c64c
Showing 1 changed file with 28 additions and 0 deletions.
28 changes: 28 additions & 0 deletions Formula/[email protected]
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
class GenIrAT050Beta < Formula
desc "Generate LLVM IR from an Xcode Build Log"
homepage "https://github.com/veracode/gen-ir"
url "https://github.com/veracode/gen-ir.git",
tag: "0.5.0-beta",
revision: "1e8375e1c910d35445e048e56c6cf91b1c79d5c9"
version_scheme 1
head "https://github.com/veracode/gen-ir.git", branch: "develop"

livecheck do
url :stable
strategy :github_latest
end

keg_only :versioned_formula

depends_on xcode: ["13.0", :build]
depends_on macos: :monterey

def install
system "swift", "build", "-c", "release", "--disable-sandbox"
bin.install "./.build/release/gen-ir"
end

test do
system "#{bin}/gen-ir", "--help"
end
end

0 comments on commit 032c64c

Please sign in to comment.