Skip to content

Using as dub dependency is quite painful #6

@andre2007

Description

@andre2007

I have an application which uses GlibD as dependency (as I have created a binding for Parquet).

Every time I compile now my application, it looks like this:

dub build
Running pre-generate commands for glibd...
Please note that you need to use `dub run <pkgname>` or add it to dependencies of your package to actually use/run it. dub does not do actual installation of packages outside of its own ecosystem.
Building package girtod in /home/user/.dub/packages/girtod-0.20.0/girtod/
Running pre-generate commands for girtod...
Performing "$DFLAGS" build using /usr/bin/dmd for x86_64.
girtod 0.20.0: building configuration "application"...
Linking...
Running ../../girtod-0.20.0/girtod/girtod -i src -o generated --use-runtime-linker
copying file [src/gtkd] to [generated/gtkd]
Performing "debug" build using /usr/bin/dmd for x86_64.
glibd 2.1.0: building configuration "library"...
parquet-d ~master: building configuration "application"...
Linking...

Even if I do not change anything in my application, girtod is build and executed for glibd every time.
This makes the usage of GlibD almost unusable. I wonder whether this could be improved?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions