Replace the 'unpack' command with a more general 'get'.
'cabal get PACKAGE' is the new name of 'cabal unpack'. 'cabal get --source-repository' reads the source-repositories from a package's description, determines which VCS to use, and then creates a local repository or branch of the package's repository. 'cabal get --source-repository=[head|this|...]' additionally allows to specify which source-repository to use. Based on the code originally written by John Millikin <jmillikin@gmail.com>.
Showing
- cabal-install/Distribution/Client/Get.hs 369 additions, 0 deletionscabal-install/Distribution/Client/Get.hs
- cabal-install/Distribution/Client/Setup.hs 40 additions, 27 deletionscabal-install/Distribution/Client/Setup.hs
- cabal-install/cabal-install.cabal 1 addition, 1 deletioncabal-install/cabal-install.cabal
- cabal-install/src/Main.hs 12 additions, 11 deletionscabal-install/src/Main.hs
Please register or sign in to comment