You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: RELEASES.md
+1
Original file line number
Diff line number
Diff line change
@@ -13,6 +13,7 @@ v4.3.0 (development in progress)
13
13
* The derive handler for `DecidableEq`[now handles](https://github.com/leanprover/lean4/pull/2591) mutual inductive types.
14
14
*[Show path of failed import in Lake](https://github.com/leanprover/lean4/pull/2616).
15
15
*[Fix linker warnings on macOS](https://github.com/leanprover/lean4/pull/2598).
16
+
***Lake:** Add `postUpdate?` package configuration option. Used by a package to specify some code which should be run after a successful `lake update` of the package or one of its downstream dependencies. ([lake#185](https://github.com/leanprover/lake/issues/185))
Copy file name to clipboardexpand all lines: src/lake/README.md
+1
Original file line number
Diff line number
Diff line change
@@ -164,6 +164,7 @@ Lake provides a large assortment of configuration options for packages.
164
164
165
165
### Build & Run
166
166
167
+
*`postUpdate?`: A post-`lake update` hook. The monadic action is run after a successful `lake update` execution on this package or one of its downstream dependents. Defaults to `none`. See the option's docstring for a complete example.
167
168
*`precompileModules`: Whether to compile each module into a native shared library that is loaded whenever the module is imported. This speeds up the evaluation of metaprograms and enables the interpreter to run functions marked `@[extern]`. Defaults to `false`.
168
169
*`moreServerArgs`: Additional arguments to pass to the Lean language server (i.e., `lean --server`) launched by `lake serve`.
169
170
*`buildType`: The `BuildType` of targets in the package (see [`CMAKE_BUILD_TYPE`](https://stackoverflow.com/a/59314670)). One of `debug`, `relWithDebInfo`, `minSizeRel`, or `release`. Defaults to `release`.
0 commit comments