Closed finestructure closed 10 months ago
Thanks a lot for the report, this fell between the chairs during previous refactoring - will be fixed by #219
@finestructure please give https://github.com/ordo-one/package-benchmark/releases/tag/1.21.2 a go and it should now work as expected, thanks again.
So documentation should be ok now, you should be able to do:
swift package --allow-writing-to-package-directory benchmark init CheckRedirectsBenchmark
or the slightly easier to remember:
swift package --disable-sandbox benchmark init CheckRedirectsBenchmark
That works now, thanks a lot for the quick fix!
I'm trying to get started with the plugin-based setup
but I'm getting an error:
Next I tried with
--targets
, think it might be docs drift:I tried showing help but that fails the same way:
I've also tried
benchmark --targets CheckRedirectsBenchmark init
andbenchmark --targets CheckRedirectsBenchmark --command init
which seemed sensible looking at the initial error message but they also fail withinvalidArgument
.Did I mess something up setting this up? The only change I've made is add
to my package manifest.
I'll try the manual setup, just wanted to leave a note that there might be a problem with the "happy path" :)