patch applied (cabal): Refactor sdist code a bit
duncan.coutts at worc.ox.ac.uk
Tue Mar 18 21:59:11 EDT 2008
Tue Mar 18 16:59:16 PDT 2008 Duncan Coutts <duncan at haskell.org>
* Refactor sdist code a bit
Separate the phases of sdist better so that they can be reused in
cabal-install. This part is similar to Andrea Vezzosi's patch.
Separate the snapshot code rather than mixing it all in with prepareTree.
Use a proper withTempDirectory which fixes one FIXME.
Better separate UI code from actions, move the notices to sdist.
M ./Distribution/Simple/SrcDist.hs -82 +122
M ./Distribution/Simple/Utils.hs -3 +14
View patch online:
More information about the cabal-devel