Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
C
Cabal
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Analyze
Contributor analytics
CI/CD analytics
Repository analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Glasgow Haskell Compiler
Packages
Cabal
Commits
3604113a
Commit
3604113a
authored
9 years ago
by
kristenk
Browse files
Options
Downloads
Patches
Plain Diff
Update documentation for test-only packages
parent
a40a3429
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
Cabal/doc/developing-packages.markdown
+6
-12
6 additions, 12 deletions
Cabal/doc/developing-packages.markdown
with
6 additions
and
12 deletions
Cabal/doc/developing-packages.markdown
+
6
−
12
View file @
3604113a
...
...
@@ -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:
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment