Closed khelkun closed 2 years ago
assuming your meta repo is named "meta"
meta exec "pwd" --exclude "meta"
or from the root of the meta repo, find the name of it programatically
meta exec "pwd" --exclude $(basename `pwd`)
thanks @patrickleet, this works all my meta commands.
I don't see this --exclude
option in the README, and actually I don't see where it's implemented.
Is there others meta command options not documented in the README? Where those options are implemented?
For example I wonder if meta
has an option like --projects-file=.meta-myprojects
.
meta inherits from https://github.com/mateodelnorte/loop. As such, any options you can pass to loop can also be passed to meta.
On Fri, Oct 29, 2021 at 3:01 AM Sébastien PERIN @.***> wrote:
thanks @patrickleet https://github.com/patrickleet, this works all my meta commands.
I don't see this --exclude option in the README, and actually I don't see where it's implemented.
Is there others meta command options not documented in the README? Where those options are implemented?
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/mateodelnorte/meta/issues/285#issuecomment-954517800, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAEHOXZPNZEAO4NICREWNCTUJJPHVANCNFSM5G5M6YUA .
🤓 Question
meta
runs in all child repositories but also first run on the root repository e.g the meta repository itself.I can imagine why this is the default aim of
meta
but I wish I could avoid this and just makemeta
to run in all the child repositories declared in the.meta
but not on the meta repository itself. Is there a way to do that please?