msoucy / dproto

D Protocol Buffer mixins to create structures at compile time
Boost Software License 1.0
37 stars 16 forks source link

about dub.json how to write #111

Closed heketang closed 7 years ago

heketang commented 7 years ago

hi; when i test " mixin ProtocolBuffer!"person.proto" ",it occurred a error.

error"need -Jpath switch to import text file person.proto source/app.d(4,1): Error: mixin app.ProtocolBuffer!"person.proto" error instantiating"

the person.proto , i put it and app.d at same level . thanks;

msoucy commented 7 years ago

The current directory will need to be listed in a stringImportPaths field. See http://code.dlang.org/package-format?lang=json for more information