Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

package-fastlane 2.0 that installs and builds Ruby 2.4.5 on users machine on brew cask install fastlane #99

Closed
wants to merge 25 commits into from
Closed
Show file tree
Hide file tree
Changes from 6 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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.

27 changes: 18 additions & 9 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,14 +1,23 @@
# 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.
- Install by running `./install`
1. Checks if _fastlane_ is already installed at `~/.fastlane/bin`
1. Check if `PACKAGED_FASTLANE_VERSION.txt` and will completely uninstall if older version of packaged _fastlane_ if not
1. Checks if `PACKAGED_RUBY_VERSION.txt` doesn't exist or if different. If so...
1. Installs/updates `ruby-build` via `brew`
1. Installs/updates `openssl` via `brew`
1. Installs new version of Ruby
1. Copies all files needed for running _fastlane_ with this Ruby version
1. Installs `bundler` and `fastlane`
- Uninstall by running `./uninstall`
1. Deletes `~/.fastlane/bin`

## 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.).
## Deployment

## 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!
### Cask
Updated the `cask/fastlane.rb` if necessary and PR into https://github.com/Homebrew/homebrew-cask/blob/master/Casks/fastlane.rb

### fastlane.zip
zip this entire directoy and PR into https://github.com/fastlane/fastlane.tools/blob/gh-pages/fastlane.zip
9 changes: 0 additions & 9 deletions README.txt

This file was deleted.

Loading