mirror of
https://github.com/c-cube/sidekick.git
synced 2025-12-07 11:45:41 -05:00
feat: make mtime optional with dummy "tef" backend
This commit is contained in:
parent
c7bf4b01e7
commit
041e83139d
3 changed files with 9 additions and 2 deletions
3
src/tef/Sidekick_tef.dummy.ml
Normal file
3
src/tef/Sidekick_tef.dummy.ml
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
|
||||
let setup() = ()
|
||||
let teardown() = ()
|
||||
|
|
@ -3,6 +3,10 @@
|
|||
(name sidekick_tef)
|
||||
(public_name sidekick.tef)
|
||||
(synopsis "profiling backend based on TEF")
|
||||
(optional)
|
||||
(flags :standard -warn-error -a+8)
|
||||
(libraries sidekick.util unix threads mtime mtime.clock.os))
|
||||
(libraries
|
||||
sidekick.util unix threads
|
||||
(select Sidekick_tef.ml from
|
||||
(mtime mtime.clock.os -> Sidekick_tef.real.ml)
|
||||
(-> Sidekick_tef.dummy.ml)))
|
||||
(optional))
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue