dub commands do not run correctly.

Andre Pany andre at s-e-a-p.de
Sat Apr 10 20:33:07 UTC 2021


On Saturday, 10 April 2021 at 18:08:55 UTC, Alain De Vos wrote:
> dub lint returns,
>>[...]
> Unknown command: lint
>
> USAGE: dub [--version] [<command>] [<options...>] [-- 
> [<application arguments...>]]
>
> 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 application.
>
> Run "dub <command> --help" to get help for a specific command.
>
> You can use the "http_proxy" environment variable to configure 
> a proxy server
> to be used for fetching packages.
>
>
> Available commands
> ==================
>
>   Package creation
>   ----------------
>   init [<directory> [<dependency>...]]
>                         Initializes an empty package skeleton
>
>   Build, test and run
>   -------------------
>   run [<package>]       Builds and runs a package (default 
> command)
>   build [<package>]     Builds a package (uses the main package 
> in

You might have an old version of dub. Dub lint was added I assume 
several months ago. Here is the documentation 
https://dub.pm/commandline.html#lint

Kind regards
Andre


More information about the Digitalmars-d-learn mailing list