cabal-ghci-0.1: cabal-ghci.cabal
Name: cabal-ghci
Version: 0.1
Synopsis: Set up ghci with options taken from a .cabal file
Description:
The executable cabal-ghci runs ghci with the paths and extensions needed by a cabal project.
The cabalSet function can be added to your .ghci to provide the same functionality at runtime, giving you more control over the options that are set:
:m + Distribution.Dev.Interactive
:def cabalset cabalSet
:cabalset
Both cabal-ghci and cabalset can take cabal flags and an executable name as arguments. For example:
Prelude> :cabalset -fdevel up1
:set "-i/home/atnnn/up1/src/dist/build/autogen"
:set "-i/home/atnnn/up1/src/web"
:set "-XTypeFamilies"
:set "-XQuasiQuotes"
Homepage: http://code.atnnn.com/projects/cabal-ghci/wiki
License: BSD3
License-file: LICENSE
Author: Etienne Laurin
Maintainer: etienne@atnnn.com
Category: Development
Build-type: Simple
Cabal-version: >=1.6
Source-repository head
type: darcs
location: http://code.atnnn.com/darcs/cabal-ghci/
Executable cabal-ghci
Main-is: CabalGHCI.hs
extensions: UnicodeSyntax
build-depends: process
Library
Exposed-modules: Distribution.Dev.Interactive
Build-depends: Cabal, base == 4.*, directory, filepath
extensions: UnicodeSyntax