mops sources
Prints the final resolved package sources.
The main purpose of this command is to be specified in the dfx.json file:
...
"defaults": {
"build": {
"packtool": "mops sources"
}
},
...
The output is formatted to be passed to the moc
.
Example output:
--package base .mops/base@0.10.4/src
--package time-consts .mops/time-consts@1.0.1/src
--package map .mops/map@9.0.1/src
--package ic .mops/ic@1.0.1/src
Options
--no-install
Do not install dependencies before resolving sources.
--conflicts <action>
What to do with dependency version conflicts.
If the dependency graph contains packages with the same name but different major versions, they will be treated as conflicting.
Possible values:
warning
- Show conflics (default)error
- Show conflics and exit with error codeignore
- Ignore conflicts