Code Monkey home page Code Monkey logo

Comments (12)

fastlanebot avatar fastlanebot commented on May 5, 2024
@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.

fastlanebot avatar fastlanebot commented on May 5, 2024
@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.

fastlanebot avatar fastlanebot commented on May 5, 2024
@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.

fastlanebot avatar fastlanebot commented on May 5, 2024
@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.

fastlanebot avatar fastlanebot commented on May 5, 2024
@KrauseFx commented

Yes, so what do you think about snapshot --file ../GeneralSnapfile

from fastlane.

fastlanebot avatar fastlanebot commented on May 5, 2024
@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.

fastlanebot avatar fastlanebot commented on May 5, 2024
@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.

fastlanebot avatar fastlanebot commented on May 5, 2024
@SimoneCarnio commented

iI think it's a good idea, I'm not a big expert with scripts

from fastlane.

fastlanebot avatar fastlanebot commented on May 5, 2024
@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.

fastlanebot avatar fastlanebot commented on May 5, 2024
@SimoneCarnio commented

ok it works, thank you very much. πŸ‘

from fastlane.

fastlanebot avatar fastlanebot commented on May 5, 2024
@KrauseFx commented

@SimoneCarnio This release might be interesting for you: https://github.com/KrauseFx/snapshot/releases/tag/0.3.2 πŸ‘

from fastlane.

fastlanebot avatar fastlanebot commented on May 5, 2024
@SimoneCarnio commented

πŸ‘

from fastlane.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.