dub commands do not run correctly.
Alain De Vos
devosalain71 at gmail.com
Sat Apr 10 11:52:09 UTC 2021
On Saturday, 10 April 2021 at 11:46:27 UTC, rikki cattermole
wrote:
>
> On 10/04/2021 11:44 PM, Alain De Vos wrote:
>> In order to run commands correctly I have to put soft links :
>> I.e.
>> dfmt -> /home/x/.dub/packages/dfmt-0.13.4/dfmt/bin/dfmt
>> or,
>> dscanner ->
>> /home/x/.dub/packages/dscanner-0.11.0/dscanner/bin/dscanner
>> Then ./dfmt or ./dscanner run fine.
>> I use freebsd as O.S.
>
> dub does not set this up for you.
>
>> But "dub run dscanner" or "dub run dfmt" do not give the right
>> result.
>> Did I miss something ?
>
> No idea, need to see the results of the command.
For instance for me,
/home/x/.dub/packages/dfmt-0.13.4/dfmt/bin/dfmt ./app.d
runs fine.
But,
dub run dfmt ./app.d
returns,
Expected one or zero arguments.
Run "dub run -h" for more information about the "run" command.
More information about the Digitalmars-d-learn
mailing list