Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions Manual.lean
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ import Manual.Namespaces
import Manual.Runtime
import Manual.SupportedPlatforms
import Manual.VCGen
import Manual.MVCGen

open Verso.Genre Manual
open Verso.Genre.Manual.InlineLean
Expand Down Expand Up @@ -100,6 +101,8 @@ Thus, this reference manual does not draw a barrier between the two aspects, but

{include 0 Manual.VCGen}

{include 0 Manual.MVCGen}

{include 0 Manual.Monads}

{include 0 Manual.BasicProps}
Expand Down
4 changes: 4 additions & 0 deletions Manual/BuildTools/Lake.lean
Original file line number Diff line number Diff line change
Expand Up @@ -763,6 +763,7 @@ root = "Tests"
libPrefixOnWindows := false,
allowImportAll := false,
builtinLint? := none,
checks := #[],
fixedToolchain := false},
configFile := FilePath.mk "lakefile",
relConfigFile := FilePath.mk "lakefile",
Expand Down Expand Up @@ -927,6 +928,7 @@ lean_exe «my-package-tests» where
libPrefixOnWindows := false,
allowImportAll := false,
builtinLint? := none,
checks := #[],
fixedToolchain := false},
configFile := FilePath.mk "lakefile.lean",
relConfigFile := FilePath.mk "lakefile.lean",
Expand Down Expand Up @@ -1131,6 +1133,7 @@ root = "Lint"
libPrefixOnWindows := false,
allowImportAll := false,
builtinLint? := none,
checks := #[],
fixedToolchain := false},
configFile := FilePath.mk "lakefile",
relConfigFile := FilePath.mk "lakefile",
Expand Down Expand Up @@ -1296,6 +1299,7 @@ lean_exe «my-package-lint» where
libPrefixOnWindows := false,
allowImportAll := false,
builtinLint? := none,
checks := #[],
fixedToolchain := false},
configFile := FilePath.mk "lakefile.lean",
relConfigFile := FilePath.mk "lakefile.lean",
Expand Down
3 changes: 3 additions & 0 deletions Manual/BuildTools/Lake/CLI.lean
Original file line number Diff line number Diff line change
Expand Up @@ -895,6 +895,9 @@ OPTIONS:
--code-quality records each linter warning as a code quality check result
and runs the registered code quality checks.
Setting this flag will skip lint driver.
--checks <mods> comma-separated list of workspace modules providing
package code quality checks; they are imported
alongside each linted module (implies --code-quality)

A lint driver can be configured by either setting the `lintDriver` package
configuration option or by tagging a script or executable `@[lint_driver]`.
Expand Down
2 changes: 2 additions & 0 deletions Manual/BuildTools/Lake/Config.lean
Original file line number Diff line number Diff line change
Expand Up @@ -193,6 +193,7 @@ name = "example-package"
libPrefixOnWindows := false,
allowImportAll := false,
builtinLint? := none,
checks := #[],
fixedToolchain := false},
configFile := FilePath.mk "lakefile",
relConfigFile := FilePath.mk "lakefile",
Expand Down Expand Up @@ -284,6 +285,7 @@ name = "Sorting"
libPrefixOnWindows := false,
allowImportAll := false,
builtinLint? := none,
checks := #[],
fixedToolchain := false},
configFile := FilePath.mk "lakefile",
relConfigFile := FilePath.mk "lakefile",
Expand Down
Loading
Loading