Skip to content

Commit b580675

Browse files
committed
Add missing "importPaths" field.
When using "ncurses" as a DUB dependency, the compiler was complaining than the `deimos.ncurses.*` modules couldn't be found, because the proper `-I` compiler switch was missing. This change fixes it. A cleaner solution would be to move the "deimos/" directory into a separate "source/" folder, so that the .d files in the "examples/" folder are outside of the import path.
1 parent e183159 commit b580675

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

package.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,9 @@
1111
"sourcePaths": [
1212
"deimos"
1313
],
14+
"importPaths": [
15+
"."
16+
],
1417
"libs": [
1518
"ncursesw"
1619
],

0 commit comments

Comments
 (0)