Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Glasgow Haskell Compiler
Packages
Cabal
Commits
b62e3bc0
Commit
b62e3bc0
authored
Dec 05, 2013
by
Mikhail Glushenkov
Browse files
Typo, whitespace.
parent
42c5b80f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Cabal/doc/developing-packages.markdown
View file @
b62e3bc0
...
...
@@ -766,9 +766,9 @@ describe the package as a whole:
`
build-type:
` _identifier_
: The type of build used by this package. Build types are the
constructors of the [BuildType][] type, defaulting to `
Custom
`.
constructors of the [BuildType][] type, defaulting to `
Custom
`.
If the buil
t
type is anything other than `
Custom
`, then the
If the buil
d
type is anything other than `
Custom
`, then the
`
Setup.hs
` file *must* be exactly the standardized content
discussed below. This is because in these cases, `
cabal
` will
ignore the `
Setup.hs
` file completely, whereas other methods of
...
...
@@ -789,7 +789,7 @@ describe the package as a whole:
~~~~~~~~~~~~~~~~
import Distribution.Simple
main = defaultMainWithHooks autoconfUserHooks
~~~~~~~~~~~~~~~~
~~~~~~~~~~~~~~~~
For build type `
Make
` (see the section on [more complex
packages](#more-complex-packages) below), the contents of
...
...
@@ -798,12 +798,12 @@ describe the package as a whole:
~~~~~~~~~~~~~~~~
import Distribution.Make
main = defaultMain
~~~~~~~~~~~~~~~~
~~~~~~~~~~~~~~~~
For build type `
Custom
`, the file `
Setup.hs
` can be customized,
and will be used both by `
cabal
` and other tools.
For most packages, the build type `
Simple
` is sufficient.
For most packages, the build type `
Simple
` is sufficient.
`
license:
` _identifier_ (default: `
AllRightsReserved
`)
: The type of license under which this package is distributed.
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment