Re: dub commands do not run correctly.

2021-04-10 Thread Andre Pany via Digitalmars-d-learn
On Saturday, 10 April 2021 at 18:08:55 UTC, Alain De Vos wrote: dub lint returns, [...] Unknown command: lint USAGE: dub [--version] [] [] [-- []] Manages the DUB project in the current directory. If the command is omitted, DUB will default to "run". When running an application, "--" can

Re: dub commands do not run correctly.

2021-04-10 Thread Alain De Vos via Digitalmars-d-learn
dub lint returns, dub lint Unknown command: lint USAGE: dub [--version] [] [] [-- []] Manages the DUB project in the current directory. If the command is omitted, DUB will default to "run". When running an application, "--" can be used to separate DUB options from options passed to the ap

Re: dub commands do not run correctly.

2021-04-10 Thread z via Digitalmars-d-learn
On Saturday, 10 April 2021 at 13:15:19 UTC, Alain De Vos wrote: dub fetch lint Getting a release version failed: (1): Error: Got JSON of type null_, expected object. Retry with ~master... (1): Error: Got JSON of type null_, expected object. He meant `dub lint`, with the working directory in t

Re: dub commands do not run correctly.

2021-04-10 Thread Alain De Vos via Digitalmars-d-learn
dub fetch lint Getting a release version failed: (1): Error: Got JSON of type null_, expected object. Retry with ~master... (1): Error: Got JSON of type null_, expected object.

Re: dub commands do not run correctly.

2021-04-10 Thread Andre Pany via Digitalmars-d-learn
On Saturday, 10 April 2021 at 11:44:12 UTC, 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 fi

Re: dub commands do not run correctly.

2021-04-10 Thread Alain De Vos via Digitalmars-d-learn
On Saturday, 10 April 2021 at 11:54:03 UTC, rikki cattermole wrote: dub run dfmt -- ./app.d You passed "./app.d" to dub, not dfmt. Right that worked.

Re: dub commands do not run correctly.

2021-04-10 Thread Alain De Vos via Digitalmars-d-learn
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/dscan

Re: dub commands do not run correctly.

2021-04-10 Thread rikki cattermole via Digitalmars-d-learn
dub run dfmt -- ./app.d You passed "./app.d" to dub, not dfmt.

Re: dub commands do not run correctly.

2021-04-10 Thread rikki cattermole via Digitalmars-d-learn
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

dub commands do not run correctly.

2021-04-10 Thread Alain De Vos via Digitalmars-d-learn
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. But "dub run dscanner" or "dub run dfmt