How to pre build vibe-d dub package

kookman thekookman at gmail.com
Sat May 30 00:12:20 UTC 2020


On Friday, 29 May 2020 at 11:45:24 UTC, Andre Pany wrote:
> André

I do it by defining a configuration “build-deps” in my dub.sdl 
with target type “none” and then doing the build as two steps in 
the dockerfile:

``` dockerfile
...
WORKDIR /build
COPY dub.s* ./
RUN dub build -v —config=build-deps
COPY src ./src
RUN dub build -v —config=executable
...


More information about the Digitalmars-d-learn mailing list