Hi, I'm new to D and trying to make some command line tools that are run with `#!/usr/bin/env rdmd`. But I would also like to reference external packages from dub. I know I can do this with:

    #!/usr/bin/env dub
    /+ dub.sdl:
      name "get"
      dependency "requests" version="~>0.3.2"
    +/

But when I run it (with `dub get.d` on Windows), it rebuilds every time.

Is there a way to integrate the two so that `rdmd` is used for the builds, but `dub` is used to download the necessary packages?

Thanks,
Matthew

Reply via email to