Improve the web-viewer.

This commit is contained in:
David 2019-02-27 10:06:38 +01:00
commit 3ac39cb2bc
11 changed files with 486 additions and 47 deletions

View file

@ -28,17 +28,32 @@ library
build-depends: base >=4.10 && <4.13,
lucid-svg, time, text, unix, lucid, filepath, process, directory,
containers, svg-tree >= 0.6.2.3, xml, bytestring, lens, linear, mtl, matrix,
JuicyPixels, attoparsec
JuicyPixels, attoparsec, parallel
Flag gtk-viewer
Description: Enable gtk-based viewer
Default: True
Default: False
Flag server
Description: Enable rendering server
Default: False
executable reanimate-server
if flag(server)
buildable: True
else
buildable: False
hs-source-dirs: server, src
main-is: Main.hs
other-modules: Reanimate.Misc
build-depends: base >=4.10 && <4.13, text, websockets, process, filepath, directory,
cache, clock, stm, containers
executable reanimate-viewer
if flag(gtk-viewer)
buildable: True
buildable: True
else
buildable: False
buildable: False
main-is: SvgViewer.hs
-- other-extensions:
other-modules: Reanimate.Arrow