Hi,
by default all dub registry packages specified in myProject/package.json as dependencies are downloaded into %AppData%/dub/packages, but I would prefer to have them somewhere else.
I tried this:
"dependencies": {
"derelict-gl3" : { "version" : "~master" , "path" : "../Dependencies/DerelictOrg" } ,
"derelict-glfw3" : { "version" : "~master" , "path" : "../Dependencies/DerelictOrg" }
}
in the package.json and dub build gave me this error:
"Error executing command build: Cannot open or create file 'D:\Code\DUB_Projects\Dependencies\DerelictOrg\package.json'"
I guess the location is searched for existing packages, but not getting and storing the dependencies there.
I also tried dub add-path with "../Dependiencies" and "../Dependencies/DrelictOrg", without success.
So how can I specify ( a global ) dependency path ?
Sorry if this was asked already, I couldn't find it.