Skip to content

Commit

Permalink
Merge pull request #101 from fastlane/2.0-brew-formula
Browse files Browse the repository at this point in the history
brew formula using ruby@2.5 dependency
  • Loading branch information
Josh Holtz authored Dec 10, 2019
2 parents 4207493 + 6c86b86 commit 7db4799
Show file tree
Hide file tree
Showing 60 changed files with 88 additions and 2,788 deletions.
30 changes: 30 additions & 0 deletions .circleci/config.yml
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)"
67 changes: 0 additions & 67 deletions DEPLOY_README.md

This file was deleted.

5 changes: 0 additions & 5 deletions Gemfile

This file was deleted.

29 changes: 0 additions & 29 deletions Gemfile.lock

This file was deleted.

122 changes: 0 additions & 122 deletions NOTICE.txt

This file was deleted.

26 changes: 17 additions & 9 deletions README.md
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)
9 changes: 0 additions & 9 deletions README.txt

This file was deleted.

Loading

0 comments on commit 7db4799

Please sign in to comment.