diff --git a/Lake/Config/LeanLibConfig.lean b/Lake/Config/LeanLibConfig.lean index 4170f01f11..25592b2bf7 100644 --- a/Lake/Config/LeanLibConfig.lean +++ b/Lake/Config/LeanLibConfig.lean @@ -62,7 +62,7 @@ structure LeanLibConfig extends LeanConfig where precompileModules : Bool := false /-- - The set of module facets to build and combine into the library's static + An `Array` of module facets to build and combine into the library's static and shared libraries. Defaults to ``#[Module.oFacet]`` (i.e., the object file compiled from the Lean source). -/ diff --git a/README.md b/README.md index 9a4497e864..8916cb8aff 100644 --- a/README.md +++ b/README.md @@ -16,6 +16,7 @@ Each `lakefile.lean` includes a `package` declaration (akin to `main`) which def + [Lean Libraries](#lean-libraries) + [Binary Executables](#binary-executables) + [External Libraries](#external-libraries) + + [Custom Targets](#custom-targets) * [Adding Dependencies](#adding-dependencies) + [Syntax of `require`](#syntax-of-require) * [Writing and Running Scripts](#writing-and-running-scripts) @@ -31,7 +32,7 @@ Note that the Lake included with Lean is not updated as frequently as this repos ## Creating and Building a Package -To create a new package, either run `lake init ` to setup the package in the current directory or `lake new ` to create it in a new directory. For example, we could create the package `hello` like so: +To create a new package, either run `lake init [