Auto-compile linenoise on build#63
Conversation
4619afe to
28f968d
Compare
|
Sorry for the commit noise, but there were some issues with the way I checked in the module with (and maybe just run soon). |
|
CC @MartinNowak @ZombineDev - what's your opinion on this? |
MartinNowak
left a comment
There was a problem hiding this comment.
With most other header libraries, we've integrated building with the deimos project, seems reasonable here as well.
E.g. https://github.com/s-ludwig/libgit2/tree/0.19
and https://github.com/biozic/d2sqlite3/blob/master/dub.sdl
That also solves any version incompats.
deimos/linenoise.di
Outdated
| @@ -0,0 +1,61 @@ | |||
| /* linenoise.h -- guerrilla line editing library against the idea that a | |||
There was a problem hiding this comment.
Why do we want to copy that file here instead of using the deimos project as dependency?
|
OK moved to D-Programming-Deimos/linenoise#5 |
fd58dfb to
77eac8c
Compare
Quite a simple idea to use the
preBuildCommandshooks, but this should work on most Posix platforms asgccis pretty universal. Of course, this isn't perfect and won't work on Windows.dub fetch