This incorporates many general Lake DSL changes from #2439 and adds some new related changes. * Rework configuration names (e.g., `package <name>`) * String literals ca now be used instead of identifiers for names. * The name syntax is now optional and can instead be set via the `name` field. * Avoid French quotes in `lake new` / `lake init` templates (except in `lean_lib` names). This is not done for `lean_lib` because it needs a proper identifier for its root. It could use a string and reparse it as an identifier, but this seems liable to produce confusion. * The `exe` templates now names it main module `Main` like the `std` template. * Improve `math` template error if `lean-toolchain` fails to download. * Lake now logs a warning rather than an error on unknown configuration fields. This increases the Lake DSL's cross-version compatibility. Closes #3385. |
||
|---|---|---|
| .. | ||
| bareStdenv | ||
| templates/pkg | ||
| bootstrap.nix | ||
| buildLeanPackage.nix | ||
| lake-dev.in | ||
| lean-dev.in | ||
| packages.nix | ||