TLDR: Clones a rule-executor repository and dynamically installs compatible rule libraries
Usage:
./rule-cloner -o /clone/to/this/directory -c /path/to/config
Important
Use an absolute path for the --output
or -o
argument
A default git ref is specified on the executor
table. You can use a An example config has been provided, to get you started. You can override rule sources by their name
.
Key | Description |
---|---|
source |
the executor repository |
ref |
anything that could be used as a git ref (commit, branch, tag) |
Key | Description |
---|---|
registry |
npm registry |
scope |
package scope |
prefix |
A common prefix for all your package names |
rules |
A list of rule packages excluding the prefix |
override |
(more below) |
A list of tables you can use to override the package sources. You need the name
field to identify the rule you want to override. For each rule:
You can override the executer ref with executer-ref
as well as specify either a git
source or a registry (which allows for changing the scope, prefix and version (which is latest
by default).