217c926dfb
The Perl version of pkglint (pkglint<5.0) runs on all platforms that are supported by pkgsrc. Not so the Go version (pkglint>=5.0). To support development of packages on all platforms, this version is provided, and it will be supported equally. Its output differs a bit from pkglint>=5.0, but the basic checks are the same.
7 lines
347 B
Text
7 lines
347 B
Text
pkglint is for pkgsrc packages what lint(1) is for C files. It checks
|
|
for various things that the used languages cannot detect, for example
|
|
application-specific restrictions on certain variables.
|
|
|
|
Before importing a new package or making changes to an existing package,
|
|
pkglint should be run in the package's directory to check for common
|
|
errors.
|