General Utilities #
@[inline]
Instances For
@[inline]
def
Lake.buildUnlessUpToDate
{ι : Type u_1}
[Lake.CheckExists ι]
[Lake.GetMTime ι]
(info : ι)
(depTrace : Lake.BuildTrace)
(traceFile : Lake.FilePath)
(build : Lake.JobM PUnit)
:
Instances For
@[inline]
def
Lake.buildFileUnlessUpToDate
(file : Lake.FilePath)
(depTrace : Lake.BuildTrace)
(build : Lake.BuildM PUnit)
:
Instances For
@[inline]
def
Lake.buildFileAfterDep
{α : Type}
(file : Lake.FilePath)
(dep : Lake.BuildJob α)
(build : α → Lake.BuildM PUnit)
(extraDepTrace : optParam (Lake.BuildM Lake.BuildTrace) (pure Lake.BuildTrace.nil))
:
Instances For
@[inline]
def
Lake.buildFileAfterDepList
{α : Type}
(file : Lake.FilePath)
(deps : List (Lake.BuildJob α))
(build : List α → Lake.BuildM PUnit)
(extraDepTrace : optParam (Lake.BuildM Lake.BuildTrace) (pure Lake.BuildTrace.nil))
:
Instances For
@[inline]
def
Lake.buildFileAfterDepArray
{α : Type}
(file : Lake.FilePath)
(deps : Array (Lake.BuildJob α))
(build : Array α → Lake.BuildM PUnit)
(extraDepTrace : optParam (Lake.BuildM Lake.BuildTrace) (pure Lake.BuildTrace.nil))
:
Instances For
Common Builds #
def
Lake.buildO
(name : String)
(oFile : Lake.FilePath)
(srcJob : Lake.BuildJob Lake.FilePath)
(args : optParam (Array String) #[])
(compiler : optParam Lake.FilePath { toString := "cc" })
:
Instances For
def
Lake.buildLeanO
(name : String)
(oFile : Lake.FilePath)
(srcJob : Lake.BuildJob Lake.FilePath)
(args : optParam (Array String) #[])
:
Instances For
def
Lake.buildStaticLib
(libFile : Lake.FilePath)
(oFileJobs : Array (Lake.BuildJob Lake.FilePath))
:
Instances For
def
Lake.buildLeanExe
(exeFile : Lake.FilePath)
(linkJobs : Array (Lake.BuildJob Lake.FilePath))
(linkArgs : optParam (Array String) #[])
: