From 58e927dc4c213033092561dfe4f2270e96126683 Mon Sep 17 00:00:00 2001 From: Lars-Dominik Braun Date: Sat, 1 Aug 2015 11:51:47 +0200 Subject: Correct cabal commands --- src/Doc.lhs | 6 +++--- src/Test.lhs | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/Doc.lhs b/src/Doc.lhs index 0d3f1cd..2f787d8 100644 --- a/src/Doc.lhs +++ b/src/Doc.lhs @@ -12,9 +12,9 @@ Building documentation > import qualified Data.Set as S The HTML documentation is generated directly from the source code of -Codec.Pesto. That module serves as starting point and it includes the other -modules in a sensible order. Pandoc_ renders the restructuredText_ to HTML. We -use a slightly modified template. +Codec.Pesto by running ``cabal run pesto-doc``. That module serves as starting +point and it includes the other modules in a sensible order. Pandoc_ renders +the restructuredText_ to HTML. We use a slightly modified template. .. _pandoc: http://www.pandoc.org/ .. _restructuredText: http://docutils.sourceforge.net/rst.html diff --git a/src/Test.lhs b/src/Test.lhs index 68f1831..400192e 100644 --- a/src/Test.lhs +++ b/src/Test.lhs @@ -9,8 +9,8 @@ Running tests > import Codec.Pesto.Lint (test) > import Codec.Pesto.Graph (test) -The testcases can be run with ``cabal run pesto-test``. This runs *all* -testcases from all modules and prints a summary. +The testcases can be run with ``cabal test``. This runs *all* testcases from +all modules and prints a summary. > main = runTestTT tests >>= \c -> if errors c + failures c > 0 then exitFailure else exitSuccess -- cgit v1.2.3