diff options
author | Lars-Dominik Braun <lars@6xq.net> | 2015-08-01 11:51:47 +0200 |
---|---|---|
committer | Lars-Dominik Braun <lars@6xq.net> | 2015-08-01 11:51:47 +0200 |
commit | 58e927dc4c213033092561dfe4f2270e96126683 (patch) | |
tree | b686c4aad0bdc6e579569d2e3d0cbf1e2d9f7219 | |
parent | 27cd2842cb5e02f937fcb9363856434d47a869e1 (diff) | |
download | pesto-58e927dc4c213033092561dfe4f2270e96126683.tar.gz pesto-58e927dc4c213033092561dfe4f2270e96126683.tar.bz2 pesto-58e927dc4c213033092561dfe4f2270e96126683.zip |
Correct cabal commands
-rw-r--r-- | src/Doc.lhs | 6 | ||||
-rw-r--r-- | 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 |