This PR adds the `--setup` option to the `lean` CLI. It takes a path to a JSON file containing information about a module's imports and configuration, superseding that in the module's own file header. This will be used by Lake to specify paths to module artifacts (e.g., oleans and ileans) separate from the `LEAN_PATH` schema. To facilitate JSON serialization of the header data structure, `NameMap` JSON instances have been added to core, and `LeanOptions` now makes use of them. |
||
|---|---|---|
| .. | ||
| builtin_attr | ||
| debug | ||
| deriving | ||
| frontend | ||
| initialize | ||
| misc | ||
| module | ||
| path with spaces | ||
| prv | ||
| setup | ||
| test_extern | ||
| user_attr | ||
| user_attr_app | ||
| user_ext | ||
| user_opt | ||
| user_plugin | ||
| .gitignore | ||