-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add versioned formula for 0.5.0-beta
Closes #30. Signed-off-by: Bryan Xavier <[email protected]>
- Loading branch information
Showing
1 changed file
with
28 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |