Abscissa / scriptlike

Utility library to help you write script-like programs in D
Other
93 stars 10 forks source link

Unable to build docs of own project with DUB #34

Closed JesseKPhillips closed 7 years ago

JesseKPhillips commented 7 years ago

When attempting to use $ dub build --build=docs on a project which depends on scriptlike, the compiler errors with

package.d(45,24): Error: module changelog is in file 'changelog.d' which can not be read

This is probably more an issue with DUB, but maybe a different choice could be made within scriptlike for its doc generation.

Abscissa commented 7 years ago

'Twas my fault. I had that file's import under a version(D_Ddoc), which of course is going to be defined for other projects too. And changelog.d was deliberately in a separate directory from the main scriptlike sources. Fixed now.

JesseKPhillips commented 7 years ago

Thanks would be good to have a minor version bump to use it from DUB.

Abscissa commented 7 years ago

On 03/03/2017 03:08 PM, Jesse Phillips wrote:

Thanks would be good to have a minor version bump to use it from DUB.

Yea, on the way. I'm actually taking this as an excuse to toss in a few other quick things I've been meaning to. New release within the next couple hours...

Abscissa commented 7 years ago

Done. Tagged v0.10.2