mirror of
https://github.com/ivabus/pantry
synced 2024-11-23 00:45:07 +03:00
41 lines
868 B
YAML
41 lines
868 B
YAML
distributable:
|
|
url: https://github.com/fastlane/fastlane/archive/{{version}}.tar.gz
|
|
strip-components: 1
|
|
|
|
versions:
|
|
github: fastlane/fastlane/releases/tags
|
|
|
|
dependencies:
|
|
ruby-lang.org: ^3.1
|
|
rubygems.org: '*'
|
|
|
|
build:
|
|
dependencies:
|
|
rubygems.org: '*'
|
|
env:
|
|
GEM_HOME: ${{prefix}}
|
|
GEM_PATH: ${{prefix}}
|
|
script: |
|
|
gem build fastlane.gemspec
|
|
|
|
gem install \
|
|
--no-user-install \
|
|
--bindir={{prefix}}/gems/bin \
|
|
--no-document \
|
|
fastlane-{{version}}.gem
|
|
|
|
mkdir "{{prefix}}"/bin
|
|
mv props/fastlane "{{prefix}}"/bin
|
|
|
|
# fails to code sign and non-essential
|
|
rm -rf "{{prefix}}"/gems/terminal-notifier-*
|
|
|
|
provides:
|
|
- bin/fastlane
|
|
|
|
test:
|
|
env:
|
|
# or writes a bunch of warnings to stdout
|
|
LC_ALL: en_US.UTF-8
|
|
LANG: en_US.UTF-8
|
|
script: fastlane --version 2>/dev/null | grep "fastlane {{version}}"
|