-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #101 from fastlane/2.0-brew-formula
brew formula using ruby@2.5 dependency
- Loading branch information
Showing
60 changed files
with
88 additions
and
2,788 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,30 @@ | ||
version: 2 | ||
|
||
jobs: | ||
"Execute install on macOS (Xcode 11.2.0)": | ||
macos: | ||
xcode: "11.2.0" | ||
environment: | ||
LC_ALL: en_US.UTF-8 | ||
LANG: en_US.UTF-8 | ||
TERM: dumb | ||
steps: | ||
- checkout | ||
- restore_cache: | ||
keys: | ||
- v3-homebrew-{{ epoch }} | ||
- v3-homebrew | ||
- run: echo 'chruby ruby-2.6' >> ~/.bash_profile | ||
- run: brew install ruby@2.5 | ||
- run: ./install 2.137.0 ~/.fastlane | ||
- run: ~/.fastlane/bin/fastlane --version | ||
- save_cache: | ||
key: v3-homebrew-{{ epoch }} | ||
paths: | ||
- /usr/local/Homebrew | ||
|
||
workflows: | ||
version: 2 | ||
build: | ||
jobs: | ||
- "Execute install on macOS (Xcode 11.2.0)" |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
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 |
---|---|---|
@@ -1,14 +1,22 @@ | ||
# packaged-fastlane 🚀 | ||
## Create the package 🛠 | ||
Creating the bundle is simple. Just run `rake package:standalone:zip` to compile and build the package of ruby with `fastlane`. | ||
|
||
This job queries RubyGems to get the most recent version that is available and builds that version of `fastlane`. By running `rake --tasks` you should also be able to predict what version will be built as that will also make the call to fetch the most recent version from RubyGems. | ||
## Usage 🛠 | ||
|
||
### Cleanup 🚿 | ||
Run tasks in the `package:clean` namespace to clean up after yourself if you'd like. | ||
`brew install fastlane` | ||
|
||
## Using the package 📦 | ||
In a terminal, call `path/to/bundle-x.x.x/fastlane` followed by a normal call to any `fastlane` action, lane, or tool (i.e. snapshot, gym, etc.). | ||
## Run Locally 🏃♂️ | ||
|
||
## Background 🍫 | ||
The heavy lifting of this project is handled by work done by the [CocoaPods team](https://cocoapods.org/about#team) for the [CocoaPods-app](https://github.com/CocoaPods/CocoaPods-app). They deserve many thanks for helping to make _packaged fastlane_ possible! | ||
1. `./install ~/somedir` | ||
1. `~/somedir/bin/fastlane` | ||
|
||
## Deployment 🚢 | ||
|
||
Any changes to the `bundle_env`, `fastlane`, or `install` will require a new release/tag and an update to the `fastlane.rb` formula in https://github.com/Homebrew/homebrew-core. | ||
|
||
1. Create release/tag in GitHub | ||
1. Download the `.tar.gz` | ||
1. Get the sha256 of the `.tar.gz` with `openssl dgst -sha256 <file>` | ||
1. Update the `fastlane.rb` formula in https://github.com/Homebrew/homebrew-core and open a PR | ||
1. Update `url` | ||
1. Update `sha256` | ||
1. Update `revision` (if needed) |
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.