cabal-sort 0.0.5.1 → 0.0.5.2
raw patch · 3 files changed
+12/−12 lines, 3 filesdep ~Cabaldep ~fgldep ~filepath
Dependency ranges changed: Cabal, fgl, filepath, process, transformers
Files
- cabal-sort.cabal +10/−10
- src/CabalSort.hs +1/−2
- src/GhcPkgDep.hs +1/−0
cabal-sort.cabal view
@@ -1,5 +1,5 @@ Name: cabal-sort-Version: 0.0.5.1+Version: 0.0.5.2 License: BSD3 License-File: LICENSE Author: Henning Thielemann <haskell@henning-thielemann.de>@@ -35,7 +35,7 @@ e.g. in order to adapt your packages to a new GHC version. In this case I found it useful to run .- > for dir in `find . -name "*.cabal" | fgrep -v _darcs | xargs cabal-sort --info=dir`; do (cd $dir; bash); done@.+ > for dir in `find . -name "*.cabal" | fgrep -v _darcs | xargs cabal-sort --info=dir`; do (cd $dir; bash); done . This way you start a local shell for every package. Then you can easily access commands in the shell history@@ -87,18 +87,18 @@ Source-Repository this type: darcs location: http://code.haskell.org/~thielema/cabal-sort/- tag: 0.0.5.1+ tag: 0.0.5.2 Executable cabal-sort Build-Depends:- Cabal >=1.6 && <1.17,- fgl >=5.4.2 && <5.5,+ Cabal >=1.6 && <2,+ fgl >=5.4.2 && <5.6, directory >=1 && <1.3,- filepath >=1.1 && <1.4,+ filepath >=1.1 && <1.5, containers >=0.2 && <0.6, explicit-exception >=0.1.4 && <0.2,- transformers >=0.2 && <0.4,+ transformers >=0.2 && <0.5, base >=2 && <5 GHC-Options: -Wall@@ -107,12 +107,12 @@ Executable ghc-pkg-dep Build-Depends:- Cabal >=1.6 && <1.17,- process >=1.0 && <1.2,+ Cabal >=1.6 && <2,+ process >=1.0 && <1.3, containers >=0.2 && <0.6, explicit-exception >=0.1.6 && <0.2, utility-ht >=0.0.5 && <0.1,- transformers >=0.2 && <0.4,+ transformers >=0.2 && <0.5, bytestring >=0.9.1 && <0.11, base >=2 && <5
src/CabalSort.hs view
@@ -2,8 +2,7 @@ import qualified Distribution.PackageDescription as P import Distribution.PackageDescription- (GenericPackageDescription, PackageDescription,- package, packageDescription, )+ (GenericPackageDescription, package, packageDescription, ) import Distribution.PackageDescription.Parse (readPackageDescription, ) import Distribution.Package (Dependency(Dependency), PackageName(PackageName), pkgName, )
src/GhcPkgDep.hs view
@@ -69,6 +69,7 @@ optUser = False, optGlobal = False, optShowVersions = False,+ -- ToDo: how about using PackageIndex? optPkgCmd = "ghc-pkg" }