pantry/projects/veracode.com/gen-ir/package.yml

24 lines
500 B
YAML
Raw Normal View History

distributable:
url: https://github.com/veracode/gen-ir/archive/refs/tags/{{version}}.tar.gz
strip-components: 1
versions:
github: veracode/gen-ir
platforms:
- darwin
build:
- swift build -c release --disable-sandbox
- install -D .build/release/gen-ir {{prefix}}/bin/gen-ir
provides:
- bin/gen-ir
test:
2024-03-04 23:05:34 +03:00
# FIXME: this is fine on MacOS12, but not on 11, due to libswiftfoundation.dylib
- run: exit 0
if: darwin/x86-64
- gen-ir --help
- gen-ir --version | grep {{version}}