periphery icon indicating copy to clipboard operation
periphery copied to clipboard

Baseline usage help

Open aiKrice opened this issue 1 year ago • 2 comments

Hello @manicmaniac, first of all, great job ! I'm trying the baseline feature but I don't understand how it works. I generate my baseline like this:

periphery scan --project Shopmium.xcodeproj --schemes ShopmiumSandbox --targets Shopmium 
--index-store-path ~/Library/Developer/Xcode/DerivedData/Shopmium-hjwfjrzwnoolqiatozxkypaeyhsh/Index.noindex/DataStore 
--write-baseline baseline --format json

It work fine, I can see my baseline file full of my warnings

Now I want to apply it I ran :

periphery scan --project Shopmium.xcodeproj --schemes ShopmiumSandbox --targets Shopmium 
--index-store-path ~/Library/Developer/Xcode/DerivedData/Shopmium-hjwfjrzwnoolqiatozxkypaeyhsh/Index.noindex/DataStore
 --baseline baseline --format json

But it doesn't do anything. Am I wrong ?

aiKrice avatar Jun 23 '24 21:06 aiKrice

@aiKrice

Hello @manicmaniac, first of all, great job !

Oh, I'm not the author of this product 😅

@ileitch deserves the praise.

manicmaniac avatar Jun 25 '24 08:06 manicmaniac

Oh GG to @ileitch . My point is still valid anyway 👍

aiKrice avatar Jun 25 '24 09:06 aiKrice

Nudge @ileitch :)

aiKrice avatar Jul 03 '24 08:07 aiKrice

Why are you using the --index-store-path option? Does the generated baseline file contain anything?

ileitch avatar Jul 03 '24 08:07 ileitch