#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