https://kotlinlang.org logo
#squarelibraries
Title
# squarelibraries
y

yshrsmz

08/02/2022, 9:46 AM
Hi, is it possible to change Paparazzi's snapshots output directory? Readme says it "defaults to `src/test/snapshots`", but I can't find a way to change it. https://github.com/cashapp/paparazzi
j

jessewilson

08/02/2022, 11:47 AM
Why?
j

Javier

08/02/2022, 11:51 AM
in my case i haven't
src
in my source sets, i.e
main/kotlin
instead of
src/main/kotlin
. So it is breaking my source sets structure
j

jessewilson

08/02/2022, 11:52 AM
Why?
This seems like a source code layout that'll cost you lots of time and benefit you very little
When there's a widely-established convention, going against it is a lot of work! Even if the convention is bad
j

Javier

08/02/2022, 11:54 AM
less nesting and even jetbrains repos are following its own custom layout
j

Javier

08/02/2022, 11:55 AM
i don't see wrong having the default to the “standard” use cases, but having a property which allows changing it is reasonable to me
y

yshrsmz

08/02/2022, 11:57 AM
I'm planning to use reg-suit as a diffing tool, instead of veryfyPaparazzi task. and store snapshots in S3. so just wanted to output to other more-easily-organizable place.