www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.learn - setting stringImportPaths in dub.json

reply cy <dlang verge.info.tm> writes:
"stringImportPaths": ["../sharedViews/"]

nope...


"buildSettings": {
	"stringImportPaths": ["../sharedViews/"]
}

nope...

"package": {
	"name": "myownfreakingpackage",
	"buildSettings": {
		"stringImportPaths": ["../sharedViews/"]
	}
}

nope...

"package": {
	"name": "myownfreakingpackage",
	"stringImportPaths": ["../sharedViews/"]
}

nope...

How do you add stringImportPaths? I want to import stuff besides 
in just views/, some multi-project shared folders.
Mar 20 2016
parent reply cy <dlang verge.info.tm> writes:
I also tried symlinking ../sharedViews into views/shared and 
importing "shared/common.stuff" but that didn't work either.
Mar 20 2016
parent cy <dlang verge.info.tm> writes:
On Monday, 21 March 2016 at 04:58:37 UTC, cy wrote:
 I also tried symlinking ../sharedViews into views/shared and 
 importing "shared/common.stuff" but that didn't work either.
Oh. I was editing dub.selections.json. Never mind, I'm just an idiot.
Mar 20 2016