[Hackage] #932: Add cabal run

Hackage cvs-ghc at haskell.org
Mon Mar 12 18:32:06 CET 2012


#932: Add cabal run
----------------------------+-----------------------------------------------
  Reporter:  tibbe          |        Owner:                    
      Type:  enhancement    |       Status:  new               
  Priority:  low            |    Milestone:  cabal-install-0.16
 Component:  Cabal library  |      Version:  1.10.2.0          
  Severity:  normal         |     Keywords:                    
Difficulty:  unknown        |   Ghcversion:                    
  Platform:                 |  
----------------------------+-----------------------------------------------
Changes (by kosmikus):

  * priority:  normal => low
  * type:  defect => enhancement
  * milestone:  => cabal-install-0.16


Old description:

> It would be have a new command, `cabal run`, that builds and runs the
> executable defined in the package. If there are several executables the
> user can specify which one to use as `cabal run foo`.

New description:

 It would be nice to have a new command, `cabal run`, that builds and runs
 the executable defined in the package. If there are several executables
 the user can specify which one to use as `cabal run foo`.

--

Comment:

 Can you provide motivation why this isn't just added complexity in the
 cabal tool? Where's the advantage compared to building and running as
 separate steps?

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



More information about the cabal-devel mailing list