cabal-meta 0.1.1 → 0.2.0
raw patch · 3 files changed
+7/−7 lines, 3 filesdep ~shellyPVP ok
version bump matches the API change (PVP)
Dependency ranges changed: shelly
API changes (from Hackage documentation)
Files
- CabalMeta.hs +2/−2
- cabal-meta.cabal +3/−3
- main.hs +2/−2
CabalMeta.hs view
@@ -42,7 +42,7 @@ asList :: Package -> [Text] asList (Package l flags) = l:flags asList (GitPackage l flags tag) = l : flags ++ maybeToList tag-asList (Directory d flags) = toTextUnsafe d : flags+asList (Directory d flags) = toTextIgnore d : flags data PackageSources = PackageSources { dirs :: [Package]@@ -83,7 +83,7 @@ cabalPresent <- if allowCabals then return False else isCabalPresent if cabalPresent then return mempty else do psources <- getSources- when (psources == mempty) $ terror $ "empty " <>| source_file+ when (psources == mempty) $ terror $ "empty " <> toTextIgnore source_file let git_pkgs = gitPackages psources child_vendor_pkgs <- if null git_pkgs then return [] else do
cabal-meta.cabal view
@@ -1,11 +1,11 @@ name: cabal-meta-version: 0.1.1+version: 0.2.0 license: BSD3 license-file: LICENSE author: Greg Weber <greg@gregweber.info> maintainer: Greg Weber <greg@gregweber.info> synopsis: build multiple packages at once-description: build multiple packages at once+description: see: <http://www.yesodweb.com/blog/2012/04/cabal-meta> and <http://github.com/yesodweb/cabal-meta> stability: Beta cabal-version: >= 1.8@@ -21,7 +21,7 @@ cpp-options: -DGHC7 else build-depends: base >= 4 && < 4.3- build-depends: shelly >= 0.3.1+ build-depends: shelly >= 0.6 , text, system-filepath -- , file-location extensions: OverloadedStrings
main.hs view
@@ -62,12 +62,12 @@ cabal_install_ cabal $ args ++ concat installs ifCabal cabal $ do forM_ (dirs packageSources) $ \pkg ->- chdir (dLocation pkg) $ "cabal-src-install" # ["--src-only"]+ chdir (dLocation pkg) $ run "cabal-src-install" ["--src-only"] forM_ (gitPackages packageSources) $ \pkg -> chdir vendor_dir $ do let repo = gLocation pkg let d = filename $ fromText repo- chdir d $ "cabal-src-install" # ["--src-only"]+ chdir d $ run "cabal-src-install" ["--src-only"] return () where