On Thu, 20 Feb 2014 11:23:50 GMT, simendsjo wrote:
What does the error in the subject mean?
Some more info.. I'm attempting to use subpackages for the first time for a tutorial I'm making.
The error message is
Checking dependencies in '/home/simendsjo/code/d/dtutorials/test'
Run 'dub help' for usage information.
Checking dependencies in '/home/simendsjo/code/d/dtutorials/test'
Run 'dub help' for usage information.
Checking dependencies in '/home/simendsjo/code/d/dtutorials/test'
The same package is referenced in different paths:
number-guess ~master: /home/simendsjo/code/d/dtutorials/test
number-guess ~master: /home/simendsjo/code/d/dtutorials/test
Error: Conflicting package multi-references.
Run 'dub help' for usage information.
And the package.json
:
{
"name" : "number-guess",
"description" : "A simple number guessing game",
"copyright" : "Copyright © 2014, simendsjo",
"authors" : ["simendsjo"],
"targetType" : "none",
"dependencies": {
"number-guess:cli" : "~master",
"number-guess:web" : "~master"
},
"subPackages": [
{
"name" : "cli",
"targetType" : "executable",
"targetName" : "number-guess",
"sourcePaths" : ["source/cli"],
},
{
"name" : "web",
"targetType" : "executable",
"targetName" : "number-guess-web",
"sourcePaths" : ["source/web"],
}
]
}