Thread overview
setting stringImportPaths in dub.json
Mar 21, 2016
cy
Mar 21, 2016
cy
Mar 21, 2016
cy
March 21, 2016
"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.
March 21, 2016
I also tried symlinking ../sharedViews into views/shared and importing "shared/common.stuff" but that didn't work either.
March 21, 2016
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.