[Hackage] #932: Add cabal run

Hackage cvs-ghc at haskell.org
Tue Mar 27 13:18:10 CEST 2012


#932: Add cabal run
----------------------------+-----------------------------------------------
  Reporter:  tibbe          |        Owner:            
      Type:  enhancement    |       Status:  new       
  Priority:  low            |    Milestone:  Cabal-1.16
 Component:  Cabal library  |      Version:  1.10.2.0  
  Severity:  normal         |     Keywords:            
Difficulty:  unknown        |   Ghcversion:            
  Platform:                 |  
----------------------------+-----------------------------------------------

Comment(by duncan):

 Note that one use case is when exes have data files they need to find. In
 this case, it's necessary to set the `pkgname_datadir` env var so that the
 program can find the data files in the build tree.

 That said, it may be preferable to generate shell scripts in
 `./dist/inplace/bin` or something like that, rather than providing a
 `cabal run` command.

-- 
Ticket URL: <http://hackage.haskell.org/trac/hackage/ticket/932#comment:5>
Hackage <http://haskell.org/cabal/>
Hackage: Cabal and related projects



More information about the cabal-devel mailing list