Skip to content
Snippets Groups Projects
Commit 3604113a authored by kristenk's avatar kristenk
Browse files

Update documentation for test-only packages

parent a40a3429
No related branches found
No related tags found
No related merge requests found
......@@ -1081,9 +1081,7 @@ machine-readable log files. The `detailed-0.9` interface requires the
#### Example: Package using `exitcode-stdio-1.0` interface ####
The example package description and executable source file below demonstrate
the use of the `exitcode-stdio-1.0` interface. For brevity, the example package
does not include a library or any normal executables, but a real package would
be required to have at least one library or executable.
the use of the `exitcode-stdio-1.0` interface.
foo.cabal:
......@@ -1115,12 +1113,10 @@ main = do
#### Example: Package using `detailed-0.9` interface ####
The example package description and test module source file below demonstrate
the use of the `detailed-0.9` interface. For brevity, the example package does
note include a library or any normal executables, but a real package would be
required to have at least one library or executable. The test module below
also develops a simple implementation of the interface set by
`Distribution.TestSuite`, but in actual usage the implementation would be
provided by the library that provides the testing facility.
the use of the `detailed-0.9` interface. The test module also develops a simple
implementation of the interface set by `Distribution.TestSuite`, but in actual
usage the implementation would be provided by the library that provides the
testing facility.
bar.cabal:
......@@ -1208,9 +1204,7 @@ channels.
#### Example: Package using `exitcode-stdio-1.0` interface ####
The example package description and executable source file below demonstrate
the use of the `exitcode-stdio-1.0` interface. For brevity, the example package
does not include a library or any normal executables, but a real package would
be required to have at least one library or executable.
the use of the `exitcode-stdio-1.0` interface.
foo.cabal:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment