[Haskell-cafe] cabal configure && cabal build && cabal install
kudah
kudahkukarek at gmail.com
Tue Nov 27 07:02:23 CET 2012
On Mon, 26 Nov 2012 18:21:33 -0500 "Albert Y. C. Lai" <trebla at vex.net>
wrote:
> Lastly, there is no "Setup install". Use "copy" and "register".
$ runghc Setup.hs --help
> This Setup program uses the Haskell Cabal Infrastructure.
> See http://www.haskell.org/cabal/ for more information.
>
> Usage: Setup.hs COMMAND [FLAGS]
> or: Setup.hs [GLOBAL FLAGS]
>
> Global flags:
> -h --help Show this help text
> -V --version Print version information
> --numeric-version Print just the version number
>
> Commands:
> configure Prepare to build the package.
> build Make this package ready for installation.
> install Copy the files into the install locations. Run register.
> copy Copy the files into the install locations.
> haddock Generate Haddock HTML documentation.
> clean Clean up after a build.
> sdist Generate a source distribution file (.tar.gz).
> hscolour Generate HsColour colourised code, in HTML format.
> register Register this package with the compiler.
> unregister Unregister this package with the compiler.
> test Run the test suite, if any (configure with UserHooks).
> bench Run the benchmark, if any (configure with UserHooks).
> help Help about commands
>
> For more information about a command use
> Setup.hs COMMAND --help
>
> Typical steps for installing Cabal packages:
> Setup.hs configure
> Setup.hs build
> Setup.hs install
On Mon, 26 Nov 2012 18:21:33 -0500 "Albert Y. C. Lai" <trebla at vex.net>
wrote:
> cabal configure
> cabal build
> cabal register --inplace
(newer) cabal build registers inplace automatically.
More information about the Haskell-Cafe
mailing list