[Hackage] #734: support multiple .cabal files

#734: support multiple .cabal files ---------------------------------+------------------------------------------ Reporter: guest | Owner: Type: enhancement | Status: new Priority: normal | Milestone: Component: cabal-install tool | Version: Severity: normal | Keywords: Difficulty: unknown | Ghcversion: Platform: | ---------------------------------+------------------------------------------ if there are several *.cabal files in the working directory, then "cabal configure" complains, and does nothing. That's OK, but it should then have an option for picking one of these files (cf. "make -f FILE"). -- Ticket URL: http://hackage.haskell.org/trac/hackage/ticket/734 Hackage http://haskell.org/cabal/ Hackage: Cabal and related projects

#734: support multiple .cabal files ---------------------------------+------------------------------------------ Reporter: guest | Owner: Type: enhancement | Status: new Priority: normal | Milestone: Component: cabal-install tool | Version: Severity: normal | Keywords: Difficulty: unknown | Ghcversion: Platform: | ---------------------------------+------------------------------------------ Comment(by rrnewton): +1 As far as I can see there's no reason not to provide a command line switch for this. I was just considering introducing a .cabal file for each benchmark in a directory. Having to place them all into their own directories makes this refactoring significantly more daunting. -- Ticket URL: http://hackage.haskell.org/trac/hackage/ticket/734#comment:1 Hackage http://haskell.org/cabal/ Hackage: Cabal and related projects

#734: support multiple .cabal files ----------------------------------+----------------------------------------- Reporter: guest | Owner: Type: enhancement | Status: new Priority: normal | Milestone: Component: Cabal library | Version: Severity: normal | Keywords: Difficulty: very hard (<1 week) | Ghcversion: Platform: | ----------------------------------+----------------------------------------- Changes (by duncan): * difficulty: unknown => very hard (<1 week) * component: cabal-install tool => Cabal library Comment: Unfortunately this is harder than it looks. The underlying Cabal build system interface does not allow for multiple .cabal files in a directory. Also, they would all need to share the same Setup.hs. The simple approach would be to tell the build system which .cabal file to look at. Another would be to allow the single build system to see all the .cabal files and build all the components. Either approach will require an update to the Cabal build system interface spec. -- Ticket URL: http://hackage.haskell.org/trac/hackage/ticket/734#comment:2 Hackage http://haskell.org/cabal/ Hackage: Cabal and related projects

#734: support multiple .cabal files ----------------------------------+----------------------------------------- Reporter: guest | Owner: Type: enhancement | Status: new Priority: normal | Milestone: Component: Cabal library | Version: Severity: normal | Keywords: Difficulty: very hard (<1 week) | Ghcversion: Platform: | ----------------------------------+----------------------------------------- Comment(by elga): * [http://www.releve-identite-operateur.fr/rio-simyo.html simyo] -- Ticket URL: http://hackage.haskell.org/trac/hackage/ticket/734#comment:3 Hackage http://haskell.org/cabal/ Hackage: Cabal and related projects
participants (1)
-
Hackage