Comments (5)
@KrauseFx commented |
That's a great idea!
Maybe it should be ruby blocks, just like in "deliver". I'll take a look later today.
Sent from my iPhone
On 17.11.2014, at 02:36, rrichter [email protected] wrote:
Wouldn't it be great to have setup and tearDown -methods which run in between language and device changes ?
Usecase(s)
- Clean iossimulator before each run to have a clean state
- Populate databases and / or user profiles
- ...
Additions to Snapfile:
Shell command ran before device change
setup_device_change './setup_device.sh'
Shell command ran after device change
teardown_device_change './teardown_device.sh'
Shell command ran before language change
setup_language_change './setup_language.sh'
Shell command ran after language change
teardown_language_change './teardown_language.sh'
Additions to Runner.rbSnapshotConfig.shared_instance.devices.each do |device|
# Run device specific setup methods
SnapshotConfig.shared_instance.languages.each do |language|
# Run device specific setup methods... end end end
What do you think?
β
Reply to this email directly or view it on GitHub.
from fastlane.
@KrauseFx commented |
I thought about it, I want to have a similar API as Deliver
: https://github.com/KrauseFx/deliver#usage
I'll let you know when I'm finished implementing this.
from fastlane.
@KrauseFx commented |
Here we go: fastlane-old/snapshot@095e1c4
Take a look at the updated README.
Install the latest version by downloading the git repo, and running sudo rake install
Let me know if it works as expected.
from fastlane.
@rrichter commented |
Works great and gives tons of flexibility! Thanks a lot. π
from fastlane.
@KrauseFx commented |
Great to hear, thanks for your response.
I already released a new version, you can install it using sudo gem update snapshot
from fastlane.
Related Issues (20)
- Fastlane is not reading macros from Package.Swift (SPM)
- fastlane sigh download_all and "Error parsing provisioning profile at path..."
- fastlane match HOT 4
- bundler: command not found: fastlane
- Individual API Key not supported HOT 3
- fastlane deliver init is not working in CLI
- JEG2/highline should be updated to avoid warning of abbrev missing in standard lib for ruby 3.3.0
- How to get raw exit code from Fastlane HOT 3
- Match import to s3 Crash on encrypting. HOT 2
- Provisioning profile expiration comparison compares Time and DateTime
- AvailableTerritories is deprecated and fastlane is not upgraded to new api endpoints HOT 5
- Match managing provisioning profiles for DriverKit
- curb-1.0.0/lib/curl/easy.rb - Failed to read/open file HOT 1
- `match` behaves differently in v2.220.0: `wrong final block length` HOT 12
- Can't upload build to Test Flight; [!] undefined method `refresh!' HOT 2
- A parameter has an invalid value - 'prices' is not a valid relationship name HOT 10
- I run the command 'fastlane match development'. and i got the following error: Looking for related GitHub issues on fastlane/fastlane... Found no similar issues. To create a new issue, please visit: https://github.com/fastlane/fastlane/issues/new Run fastlane env to append the fastlane environment to your issue [!] The request could not be completed because: This request is forbidden for security reasons - You currently don't have access to this membership resource. Contact your team's Account Holder, or an Admin.
- Build_for_testing fails sporadically with error 'Could not find or use auto-linked framework' HOT 2
- Can fastlane support filling in Chinaβs ICP registration number?
- [match] provisioning profile generated via match blocks release installation on TestFlight (or on device) HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. πππ
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from fastlane.