-
Notifications
You must be signed in to change notification settings - Fork 12
Open
Description
Right now there seems to be support fo just one place where cartridges are loaded and so the config json looks something like:
{
"hostname": "1234",
"username": "user",
"password": "1234",
"version": "dev",
"cartridges": "cartridges"
}
In some cases we have multiple cartridges that we need to take from multiple repos cloned in different places so it would be nice if there would be support for this.
What I propose is to also add support for "cartridges" to be an array.
So if typeof config.cartridges === "string" then logic is as before and you take cartridges from a single place.
If it's not string then you iterate over the array and watch/clean cartridges from all sources.
{
"hostname": "1234",
"username": "user",
"password": "1234",
"version": "dev",
"cartridges": ["/path/to/cartridges1", "/path/to/cartridges/2"]
}
osapishchuk
Metadata
Metadata
Assignees
Labels
No labels