DlangScience / scid

Scientific library for the D programming language
Boost Software License 1.0
90 stars 31 forks source link

Dub package file #12

Closed BlackEdder closed 9 years ago

BlackEdder commented 9 years ago

Add a dub.json file for integration with the dub build system. This will also make it possible to add scid to the code.dlang.org repository and will make it easier for people to use the library in their own projects.

BlackEdder commented 9 years ago

ping @kyllingstad

I'd love to see scid available on code.dlang.org

kyllingstad commented 9 years ago

Sorry for the delay, and thanks for submitting this! I've been planning to put SciD up on code.dlang.org, but never got around to it. Expect to see it there shortly.

kyllingstad commented 9 years ago

http://code.dlang.org/packages/scid

BlackEdder commented 9 years ago

Thanks @kyllingstad . Are there any plans to move scid to source/scid ? This would mostly be a superficial change, but it would simplify the dub file and you can set source as the import path instead of ./

I am willing to add a pull request for such a change.

kyllingstad commented 9 years ago

I agree that moving the sources to a dedicated directory is a good idea, and a pull request would be much appreciated. If you do this, remember to also update build.d and Makefile.

For build.d, changing line 64 ought to be sufficient, but you should verify this. The makefile is not my work, and I haven't familiarised myself with it, so I can't say what has to be done there.