set 'no group' for local packages
MartinP7r opened this issue · comments
Is there a way to set no group for a local package?
At the moment there's the group
option for local packages and localPackagesGroup
, but neither can be set to something that allows a package to sit at the projects root without a group.
I believe this has similarity to #1118
I would like this behavior as well. Currently the best I can do is put the local packages in a top-level folder, like:
/MyProject
/Packages
/Package1
/Package2
What I want is:
/MyProject
/Package1
/Package2
Looking at
XcodeGen/Sources/XcodeGenKit/SourceGenerator.swift
Lines 56 to 88 in 26fc38a
group
and localPackagesGroup
that doesn't put it in at least one folder.I don't see an obvious change to the API, other than accepting "" for group
or localPackageGroup
. I'm not aware of that being a precedent anywhere else in the API though.
I'm willing to open a PR to add this capability if we can agree on a config option for it.
@hiltonc I'm happy with that solution (setting group to "") or allowing options.localPackagesGroup
to be "", if you'd like to make a PR
@yonaskolb Thanks, I added support for both options in #1413.
Thank you @hiltonc!
Now we only need someone to review. 🥺
@yonaskolb would you be able to review or assign/recommend someone able to review?