mirror of
https://github.com/reanimate/reanimate.git
synced 2026-09-14 09:32:22 +00:00
Make inotify optional.
This commit is contained in:
parent
eb3f5b0a90
commit
00d93c3e8a
4 changed files with 43 additions and 4 deletions
|
|
@ -32,6 +32,10 @@ Source-Repository head
|
|||
Type: git
|
||||
Location: git://github.com/lemmih/reanimate.git
|
||||
|
||||
Flag inotify
|
||||
Description: Enable file watching using linux's inotify
|
||||
Default: True
|
||||
|
||||
library
|
||||
hs-source-dirs: src
|
||||
default-language: Haskell2010
|
||||
|
|
@ -48,14 +52,21 @@ library
|
|||
Reanimate.Misc
|
||||
other-modules: Reanimate.Svg.NamedColors
|
||||
Reanimate.Cache
|
||||
Reanimate.FileWatch
|
||||
Paths_reanimate
|
||||
build-depends: base >=4.10 && <4.13,
|
||||
time, text, unix, filepath, process, directory,
|
||||
containers, reanimate-svg >= 0.7.0.0, xml, bytestring, lens, linear, mtl, matrix,
|
||||
JuicyPixels, attoparsec, parallel, diagrams, diagrams-svg,
|
||||
diagrams-core, diagrams-lib, diagrams-contrib,
|
||||
svg-builder, matrices, cubicbezier, palette, hinotify, websockets,
|
||||
svg-builder, matrices, cubicbezier, palette, websockets,
|
||||
hashable
|
||||
if flag(inotify)
|
||||
hs-source-dirs: unix
|
||||
build-depends: hinotify
|
||||
else
|
||||
hs-source-dirs: posix
|
||||
|
||||
|
||||
Flag server
|
||||
Description: Enable rendering server
|
||||
|
|
|
|||
Loading…
Reference in a new issue