Skip to content

libro-app/backend

Repository files navigation

LiBro backend

build, test, docs

Dependencies

System dependencies:

  • Modern GHC
  • LibreOffice
  • libexpat1-dev (Ubuntu) / expat-devel (Fedora)
  • libbz2-dev (Ubuntu) / bzip2-devel (Fedora)

Haskell dependencies:

cabal install --only-dependencies all

Run tests

Running all the tests with make test may take some time. Run individual tests with

$ cabal test --test-show-details=direct --test-options='--match="RESTful JSON web service"'
$ make test_only pattern="SafeText wrapper/Safe packing"

ATTENCIÓNE: The test suite starts a headless LibreOffice instance (if not already running) to dramatically speed up data conversion property tests. Don't start LibreOffice while tests are running as it will be killed afterwards.

Author and license

Copyright (c) 2023-2024 Mirko Westermeier

Released under the MIT license (see LICENSE) for details.