Am 27.10.2013 02:14, schrieb Stephan Dilly:
The recently fixed app args bug is biting me. Any chance for a updated release any time soon ?
That problem made me call the package executable myself and made me think.
I like the similarities of dub to npm (nodejs package manager) but what i miss is the ability to simply install a package like "npm forever" and run it via "forever ..." in dub this is more verbose "dub install forever-d" and "dub run forever-d ..." wouldn't it be nice to have a bin folder that dub adds to PATH and move those exe files there so everyone could simply call "forever-d"
Any ideas? Or am i missing something completly?
As Jacob already said, there is some controversy about this topic. On
one hand it would be nice to have something like this, but on the other
hand it opens a lot of questions as soon as you want to go beyond a
single dub-bin directory that is added to PATH (things like resource and
configuration files, OS or distribution specific paths etc.).
So the question is if it is a wise idea to implement something now
before knowing how to make a complete solution that fits together will
with the OS package manager, if there is one (and thus possibly being
forced to implement backwards incompatible changes).
But a trivial addition would be a less noisy syntax to run application
packages, something like "dubexec forever-d <args>", which translates to
"dub run forever-d --build=release -- <args>"?