-
Notifications
You must be signed in to change notification settings - Fork 366
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
lint: change warnings to errors on enabled-as-errors warnings
- Loading branch information
1 parent
a0423ef
commit 218448c
Showing
2 changed files
with
22 additions
and
18 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -64,31 +64,31 @@ ${BASEDIR}/lint.opam: Errors. | |
### opam lint ./lint.opam [email protected] | ||
${BASEDIR}/lint.opam: Errors. | ||
error 23: Missing field 'maintainer' | ||
warning 25: Missing field 'authors' | ||
warning 35: Missing field 'homepage' | ||
warning 36: Missing field 'bug-reports' | ||
error 25: Missing field 'authors' | ||
error 35: Missing field 'homepage' | ||
error 36: Missing field 'bug-reports' | ||
error 57: Synopsis must not be empty | ||
warning 68: Missing field 'license' | ||
error 68: Missing field 'license' | ||
# Return code 1 # | ||
### opam lint ./lint.opam [email protected] | ||
${BASEDIR}/lint.opam: Errors. | ||
error 23: Missing field 'maintainer' | ||
warning 25: Missing field 'authors' | ||
warning 35: Missing field 'homepage' | ||
warning 36: Missing field 'bug-reports' | ||
error 25: Missing field 'authors' | ||
error 35: Missing field 'homepage' | ||
error 36: Missing field 'bug-reports' | ||
error 57: Synopsis must not be empty | ||
warning 68: Missing field 'license' | ||
error 68: Missing field 'license' | ||
# Return code 1 # | ||
### opam lint ./lint.opam --warn=+25@25 | ||
${BASEDIR}/lint.opam: Errors. | ||
warning 25: Missing field 'authors' | ||
error 25: Missing field 'authors' | ||
# Return code 1 # | ||
### opam lint ./lint.opam [email protected] | ||
${BASEDIR}/lint.opam: Errors. | ||
error 23: Missing field 'maintainer' | ||
warning 25: Missing field 'authors' | ||
warning 35: Missing field 'homepage' | ||
warning 36: Missing field 'bug-reports' | ||
error 35: Missing field 'homepage' | ||
error 36: Missing field 'bug-reports' | ||
# Return code 1 # | ||
### :::::::::::::: | ||
### : Test lints : | ||
|