This project is mirrored from https://github.com/haskell/Cabal.
Pull mirroring updated .
- 03 Jan, 2005 1 commit
-
-
ijones authored
** add a newline to the end of the installed package description ** When pretty-printing free-format text fields, align the lines vertically (so that following lines will be seen as continuations) and replace empty lines with "." (so they'll be correctly re-parsed, instead of looking like a stanza separator).
-
- 02 Jan, 2005 3 commits
-
-
ijones authored
-
ijones authored
First cut at installHugs. The treatment of executables is still incomplete. simplistic register/unregister for Hugs: * register copies the installed package decsription into the packages dir * unregister uninstalls the package Hugs supports FFI without extra flags
-
ijones authored
-
- 01 Jan, 2005 7 commits
- 31 Dec, 2004 1 commit
-
-
ijones authored
-
- 30 Dec, 2004 5 commits
-
-
ijones authored
** haddock fixes ** Add the following fields to PackageDescription: buildPackage :: Bool, -- ^ package is buildable here ccOptions :: [String], -- ^ options for C compiler ldOptions :: [String], -- ^ options for linker frameworks :: [String], When these are system dependent (as they often are), they will need to be overridden, but the mechanism is left to the Cabal user. Not that I've treated these as basic fields, so they apply to the library (if any) and all executables in the package. The overriding is easier that way. ** Make the build prefix settable with the --builddir option to configure (in Simple), save this in the LocalBuildInfo, and use it in subsequent phases. This is useful for the Hugs build, where we want to place the built libraries so that we can easily use them inplace. ** Some rearrangement, centring on changes to the definition of PPSuffixHandler: * removed the special treatment of literate source: a separate preprocessor can be used for these if required. * handlers can use package and local build info to construct the appropriate preprocessor. Also, the supplied suffix handlers list now only has entries for suffixes that need preprocessing (i.e. not .hs or .lhs). Dummy entries for the suffixes handled by the compiler are added internally. ** Add a function getOptionsFromSource to fetch LANGUAGE and OPTIONS pragmas from the initial part of a Haskell source module (as proposed by SimonM on the libraries list). Also export the auxiliary function stripComments, which does what it says, optionally preserving pragmas.
-
ijones authored
-
ijones authored
-
ijones authored
-
ijones authored
-
- 29 Dec, 2004 3 commits
- 20 Dec, 2004 1 commit
-
-
ijones authored
-
- 19 Dec, 2004 4 commits
-
-
ijones authored
** Previously, "hidden-modules" had nothing to do with what gets built, and we had to compute "exposed-modules" with "modules `setdiff` hidden modules". At Ross Paterson's suggestion, I added Exposed-Modules. ** Since the executable sections also used the "modules" field, I changed it to use "executable-modules", and got rid of the ambiguous "modules" field. This should hopefully be more clear to everyone.
-
ijones authored
-
ijones authored
-
ijones authored
-
- 08 Dec, 2004 4 commits
- 07 Dec, 2004 11 commits