This project is mirrored from https://github.com/haskell/Cabal.
Pull mirroring updated .
- Feb 07, 2019
-
-
Francesco Gazzetta authored
-
Mikhail Glushenkov authored
Add `--enable-executable-static` flag for fully static linking
-
Also update the docs for `--enable-executable-dynamic` as they were slightly misleading.
-
* Add support for application-dir and creating library hs file. This adds support for specifying an "application directory" for the Main.hs executable entrypoint to be located in ("app" is common). This also generates a MyLib.hs file when initializing a new project that is 'Library' or 'LibraryAndExecutable'. For the latter, the 'Main' module also imports this library and uses it. * Fix otherModules bug when MyLib and Main are in the same directory. * Don't ask for "source dir" if this is an executable. That's what applicationDir is for. * Comments, explicitly handle 'Library' in getModulesBuildToolsAndDeps * Code cleanups. - More concise comments. - Simplified code to write MyLib. - Share directory creation code. * Update changelog. [ci skip] * Remove extraneous let. * Add support for application-dir and creating library hs file. This adds support for specifying an "application directory" for the Main.hs executable entrypoint to be located in ("app" is common). This also generates a MyLib.hs file when initializing a new project that is 'Library' or 'LibraryAndExecutable'. For the latter, the 'Main' module also imports this library and uses it. * Fix otherModules bug when MyLib and Main are in the same directory. * Don't ask for "source dir" if this is an executable. That's what applicationDir is for. * Comments, explicitly handle 'Library' in getModulesBuildToolsAndDeps * Code cleanups. - More concise comments. - Simplified code to write MyLib. - Share directory creation code. * Update changelog. [ci skip] * Remove extraneous let. * More library and application directory suggestions. * Fix merge bug and reword interactive prompt. * Wording.
-
Mikhail Glushenkov authored
Add cabal init --interactive option
-
Mikhail Glushenkov authored
Instantiate fully instantiated dependencies even in indefinite packages.
-
Zejun Wu authored
This was broken by 7a029caa We can not use `ByteString.pack` and then print it as `String`, which will get encoded again based on the system setting, and very likely, we get different things unless the encoding is something like ISO-8859-1, e.g. in UTF-8 environment, the magic of gz "\x1f\x8b" will get encoded again into "\x1f\xc2\x8b". Before: ``` $ /cabal sdist --output-dir=- | tar -t -z -f - tar: This does not look like a tar archive ``` And now: ``` $ cabal sdist --output-dir=- | tar -t -z -f - | tail -n 1 cabal-install-2.5.0.0/tests/README.md ```
-
- Feb 05, 2019
-
-
Zejun Wu authored
The help message did not end with newline before and looked weird as it can concatenate with next shell prompt.
-
- Jan 30, 2019
-
-
Edward Z. Yang authored
Signed-off-by:
Edward Z. Yang <ezyang@fb.com>
-
- Jan 29, 2019
-
-
Mikhail Glushenkov authored
extra-bundled-libraries: align naming convention with ghc
-
- Jan 28, 2019
-
-
Edward Z. Yang authored
Signed-off-by:
Edward Z. Yang <ezyang@fb.com>
-
- Jan 25, 2019
-
-
Matt Renaud authored
-
Mikhail Glushenkov authored
Default to initializing executable when not specified to `cabal init`
-
Mikhail Glushenkov authored
Add support for generating test-suite.
-
David Eichmann authored
-
Edward Z. Yang authored
Signed-off-by:
Edward Z. Yang <ezyang@fb.com>
-
Mikhail Glushenkov authored
-
[ci skip]
-
Two new flags: --tests --test-dir - Only valid to generate tests for a "Library" or "LibraryAndExecutable".
-
- Jan 24, 2019
-
-
Mikhail Glushenkov authored
Add info on common stanzas to Quickstart module import section
-
Matt Renaud authored
[ci skip]
-
Mikhail Glushenkov authored
Add init section to global cabal config.
-
Mikhail Glushenkov authored
Add documentation on --config-file and CABAL_CONFIG env variable.
-
Mikhail Glushenkov authored
Generate valid Main.lhs files with `cabal init`.
-
Matt Renaud authored
[ci skip]
-
- Jan 22, 2019
-
-
Mikhail Glushenkov authored
Typofixes in comments and docs
-
Matt Renaud authored
-
Gabor Greif authored
-
- Jan 21, 2019
-
-
Mikhail Glushenkov authored
-
Mikhail Glushenkov authored
-
Fixes haskell/cabal#5577.
-
- Jan 20, 2019
-
-
Matt Renaud authored
-
Matt Renaud authored
-
Matt Renaud authored
-
- Jan 16, 2019
-
-
Herbert Valerio Riedel authored
The `fail` package has been already in lib:Cabal's transitive dependencies via at least `lib:parsec` (for GHC < 8), so we might as well depend on it directly and avoid having to deal with two divergent compat `MonadFail` classes, as well as reduce the amount of CPP hackery. This should address the GHC < 8 build failures that were introduced via c3c29a49 Future work: get rid of internal `Distribution.Compat.MonadFail` module.
-
- Jan 15, 2019
-
-
Herbert Valerio Riedel authored
-
Mikhail Glushenkov authored
-
Alexis Williams authored
-
Mikhail Glushenkov authored
Add global configuration option for non-interactive cabal init.
-