[Hackage] #410: cabal sdist does not call the sdist build hook in custom Setup.hs

#410: cabal sdist does not call the sdist build hook in custom Setup.hs ---------------------------------+------------------------------------------ Reporter: duncan | Owner: Type: defect | Status: new Priority: normal | Milestone: Component: cabal-install tool | Version: 1.2.3.0 Severity: normal | Keywords: Difficulty: normal | Ghcversion: 6.8.3 Platform: | ---------------------------------+------------------------------------------ The `cabal sdist` command only runs the default actions, it does not call the sdist hook that gets called if you `runghc Setup sdist`. The problem is there is no external method for invoking the sdist hook. Calling `./setup sdist` performs the whole action, but we only want to prepare the tree and not tar it up, since `cabal sdist` uses internal tar code rather than calling an external tar program (which typically does not exist on windows). -- Ticket URL: http://hackage.haskell.org/trac/hackage/ticket/410 Hackage http://haskell.org/cabal/ Hackage: Cabal and related projects

#410: cabal sdist does not call the sdist build hook in custom Setup.hs ---------------------------------+------------------------------------------ Reporter: duncan | Owner: Type: defect | Status: new Priority: normal | Milestone: Component: cabal-install tool | Version: 1.2.3.0 Severity: normal | Resolution: Keywords: | Difficulty: normal Ghcversion: 6.8.3 | Platform: ---------------------------------+------------------------------------------ Comment (by duncan): See #372. What we need is for the command line interface to support generating a tarball image in a given location. That way an external tool like cabal- install can call it and then call tar itself. -- Ticket URL: http://hackage.haskell.org/trac/hackage/ticket/410#comment:1 Hackage http://haskell.org/cabal/ Hackage: Cabal and related projects
participants (1)
-
Hackage