File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -21,8 +21,8 @@ default: help
2121help :
2222 @echo " usage: make TARGET [VAR=VAL ...]"
2323 @echo " base targets: split lp lpo clean-<target> clean-all"
24- @echo " rocq targets: v merge-spec-files rm-empty-deps vo opam "
25- @echo " lean targets: lean"
24+ @echo " rocq targets: v merge-spec-files rm-empty-deps vo"
25+ @echo " lean targets: lean olean "
2626 @echo " variables:"
2727 @echo " MAX_PROOF: hol2dk max proof size (default is $( MAX_PROOF) )"
2828 @echo " MAX_ABBREV: hol2dk max abbrev size (default is $( MAX_ABBREV) )"
416416 -rm -f $@
417417 for f in $(STI_FILES:%.sti=%); do echo "import $(ROOT_PATH).$$f" >> $@; done
418418endif
419+
420+ .PHONY : olean
421+ olean :
422+ LEAN_STACK_SIZE_KB=0 lake build
Original file line number Diff line number Diff line change 197197 ln -f -s $HOLLIGHT_DIR /${hollight_file% .ml} .$ext
198198done
199199
200- if test -n " $leanfiles " -a ! -d .lake
200+ if test -n " $leanfiles "
201201then
202- echo lake init $root_path math
203- lake init $root_path math
204- rm -f $root_path .lean $root_path /Basic.lean
202+ if test ! -d .lake
203+ then
204+ echo lake init $root_path math
205+ lake init $root_path math
206+ rm -f $root_path .lean $root_path /Basic.lean
207+ fi
205208 for f in $leanfiles
206209 do
207210 echo cp -f $f $root_path
You can’t perform that action at this time.
0 commit comments