.TH DUB-LINT 1 "2022-08-13" "The D Language Foundation" "The D Language Foundation" .SH NAME dub \- Package and build management system for D .SH SYNOPSIS \fBdub lint\fR [<\fIpackage\fR>[@<\fIversion-spec\fR>]] \fIOPTIONS\&.\&.\&.\fR [-- <\fIapplication arguments...\fR>] .SH DESCRIPTION Builds the package and executes D-Scanner linter tests. .SH OPTIONS .IP --syntax-check Lexes and parses sourceFile, printing the line and column number of any syntax errors to stdout. .IP --style-check Lexes and parses sourceFiles, printing the line and column number of any static analysis check failures stdout. .IP --error-format=VALUE Format errors produced by the style/syntax checkers. .IP --report Generate a static analysis report in JSON format. .IP --report-format=VALUE Specifies the format of the generated report. .IP --report-file=VALUE Write report to file. .IP --import-paths=VALUE Import paths .IP --config=VALUE Use the given configuration file. .IP -b, --build=VALUE Specifies the type of build to perform. Note that setting the DFLAGS environment variable will override the build type with custom flags. Possible names: debug (default), plain, release, release-debug, release-nobounds, unittest, profile, profile-gc, docs, ddox, cov, unittest-cov, syntax and custom types .IP -c, --config=VALUE Builds the specified configuration. Configurations can be defined in dub.json .IP --override-config=VALUE Uses the specified configuration for a certain dependency. Can be specified multiple times. Format: --override-config=/ .IP --compiler=VALUE Specifies the compiler binary to use (can be a path). Arbitrary pre- and suffixes to the identifiers below are recognized (e.g. ldc2 or dmd-2.063) and matched to the proper compiler type: dmd, gdc, ldc, gdmd, ldmd .IP -a, --arch=VALUE Force a different architecture (e.g. x86 or x86_64) .IP -d, --debug=VALUE Define the specified debug version identifier when building - can be used multiple times .IP --nodeps Do not resolve missing dependencies before building .IP --build-mode=VALUE Specifies the way the compiler and linker are invoked. Valid values: separate (default), allAtOnce, singleFile .IP --single Treats the package name as a filename. The file must contain a package recipe comment. .IP --force-remove Deprecated option that does nothing. .IP --filter-versions [Experimental] Filter version identifiers and debug version identifiers to improve build cache efficiency. .SH FILES \fIdub\&.sdl\fR, \fIdub\&.json\fR .SH AUTHOR Copyright (c) 1999-2022 by The D Language Foundation .SH "ONLINE DOCUMENTATION" .UR http://code.dlang.org/docs/commandline .UE http://code.dlang.org/docs/commandline .SH "SEE ALSO" \fBdmd(1)\fR, \fBdub(1)\fR