https://github.com/rightpoint/fastlane-shared
Repository for fastlane files and utilities common to Raizlabs projects.
https://github.com/rightpoint/fastlane-shared
Last synced: 9 months ago
JSON representation
Repository for fastlane files and utilities common to Raizlabs projects.
- Host: GitHub
- URL: https://github.com/rightpoint/fastlane-shared
- Owner: Rightpoint
- Created: 2016-02-19T15:13:08.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2017-09-08T20:43:50.000Z (almost 9 years ago)
- Last Synced: 2025-04-12T08:43:51.409Z (about 1 year ago)
- Language: Ruby
- Size: 4.88 KB
- Stars: 0
- Watchers: 6
- Forks: 2
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# fastlane-shared
Repository for fastlane files and utilities common to Raizlabs projects.
## Shared Fastfile
The SharedFastfile.rb provides functionality that should be common to all RZ iOS project builds:
- Shorthand for common actions such as build and test with sensible defaults
- Default behavior for unlocking keychains
- All output redirected to a common build location within the project structure
You can import the `SharedFastfile.rb` in your own `Fastfile` like this:
```
import_from_git(url:"git@github.com:Raizlabs/fastlane-shared.git", path:"SharedFastfile.rb")
```
See `ExampleFastfile` for an example of what your Fastfile might look like. Note that the `SharedFastfile.rb` does not prescribe lanes, bbut rather, provides helper functionality to aid you in creating your own lanes.
Every action helper is keyed off a common "app name" which is provided via the `RZ_APP_NAME` environment variable. Other actions require various environment variables be present, see the header doc in the `SharedFastfile.rb` for more info. In addition to specifying these variables, your directory structure should look like this:
- {root dir}
- app
- {app name}
- {app name}.xcodeproj
- {app name}.xcworkspace
- Podfile
- Signing
- {app name}.keychain (should contain app-sepcific signing certs)
- Raizlabs.keychain (should contain Raizlabs signing certs)
- {app name}.mobileprovision (and any other provisioning profiles)
- fastlane (all fastlane files)
- Gemfile
- Gemfile.lock
- README.md