June 08, 2020 Re: Quick Start for Hunt Framework! | ||||
---|---|---|---|---|
| ||||
Posted in reply to Andre Pany | On Monday, 8 June 2020 at 17:43:03 UTC, Andre Pany wrote:
> On Monday, 8 June 2020 at 11:09:01 UTC, Heromyth wrote:
>> [...]
>
> The dub package registry of type `file` works differently. You specify here a folder containing dub packages as zip file.
>
> In your example you can instead use dub add-local command to register local folder `custom-dub-init`. See https://dub.pm/commandline.html#add-local
>
> Then your command is just `dub init -n SimpleDemo -t custom-dub-init-dubpackage -- --foo=bar`
>
> Kind regards
> Andre
Correction:
Command is:
`dub init -n SimpleDemo -t custom-dub-init -- --foo=bar`
|
June 09, 2020 Re: Quick Start for Hunt Framework! | ||||
---|---|---|---|---|
| ||||
Posted in reply to Andre Pany | On Monday, 8 June 2020 at 17:45:33 UTC, Andre Pany wrote: > On Monday, 8 June 2020 at 17:43:03 UTC, Andre Pany wrote: >> [...] > > Correction: > > Command is: > > `dub init -n SimpleDemo -t custom-dub-init -- --foo=bar` I have filed an issue to talk about this. See https://github.com/dlang/dub/issues/1963. > For the moment, there is the dub test > https://github.com/andre2007/dub/blob/master/test/issue1651-custom-dub-init-type.sh which exactly test the behavior you try. > Did you already had a look here? My command is copied from there. |
Copyright © 1999-2021 by the D Language Foundation