Comments (12)
@KrauseFx commented |
Check out the README:
https://github.com/KrauseFx/snapshot#screenshots-output-path
https://github.com/KrauseFx/snapshot#scheme
Both things are available. You just need to run snapshot init
, it will create a configuration file for you.
You can even pass your own build script, in case you want even more options:
https://github.com/KrauseFx/snapshot#custom-build-command
from fastlane.
@SimoneCarnio commented |
I need to pass to the command line, for example :
snapshot --screenshots_path=xxxxx --schema=xxxx
I could resolve bu making the config file at runtime, but it's more simple for me in the other way :)
from fastlane.
@KrauseFx commented |
Why can't you create a Snapfile
. I'm curios :)
Do you have multiple apps in different folders, with the same config?
Would it be okay, to pass a path to a Snapfile
?
from fastlane.
@SimoneCarnio commented |
I have a project with about 400 target (scheme) and I want to create all the screenshot at every new release. It's not a problem to make a new snapfile every "loop", but it's easier for me to pass that 2 values by command line :)
from fastlane.
@KrauseFx commented |
Yes, so what do you think about snapshot --file ../GeneralSnapfile
from fastlane.
@SimoneCarnio commented |
I alway need to make that file to define the schema and output directory (i want to save the snapshot in a directory with schema name), so it's the same thing to overwrite the default config file every loop.
from fastlane.
@KrauseFx commented |
Ah, alright, I see the problem.
Well, I'm not a big fan of CLI options. I want the commands to be dead simple.
How about using environment variables to overwrite certain values? It's much easier to implement snapshot
and you can easily set it in your script.
from fastlane.
@SimoneCarnio commented |
iI think it's a good idea, I'm not a big expert with scripts
from fastlane.
@KrauseFx commented |
Here we go: fastlane-old/snapshot@e5b1c0f
Could you test it, by downloading it, and running sudo rake install
.
Usage:
SNAPSHOT_SCREENSHOTS_PATH="your_folder" snapshot
from fastlane.
@SimoneCarnio commented |
ok it works, thank you very much. π
from fastlane.
@KrauseFx commented |
@SimoneCarnio This release might be interesting for you: https://github.com/KrauseFx/snapshot/releases/tag/0.3.2 π
from fastlane.
@SimoneCarnio commented |
π
from fastlane.
Related Issues (20)
- 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 HOT 1
- 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 15
- 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 12
- 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
- if and switch expressions Swift 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.