packages feed

cabal-bounds 1.0.0 → 1.0.1

raw patch · 60 files changed

+1763/−2838 lines, 60 filesdep ~directorydep ~filepathPVP ok

version bump matches the API change (PVP)

Dependency ranges changed: directory, filepath

API changes (from Hackage documentation)

Files

CHANGELOG view
@@ -1,3 +1,7 @@+1.0.1+-----+* Make tests less dependent on the cabal/ghc version+ 1.0.0 ----- * Automatically find the cabal and setup-config file
cabal-bounds.cabal view
@@ -1,5 +1,5 @@ name: cabal-bounds-version: 1.0.0+version: 1.0.1 cabal-version: >=1.9.2 build-type: Simple license: BSD3@@ -110,8 +110,8 @@         tasty >=0.9.0.1 && <0.11,         tasty-golden >=2.2.0.2 && <2.4,         process >=1.1.0.2 && <1.3,-        filepath >=1.3.0.1 && <1.4,-        directory >=1.0.0.0 && <1.3,+        filepath >= 1.3 && <1.5,+        directory >= 1.2 && <1.3,         Glob ==0.7.*,         cabal-bounds -any     hs-source-dirs: tests
lib/CabalBounds/Main.hs view
@@ -115,8 +115,8 @@ ignoreBaseLibrary :: A.Args -> A.Args ignoreBaseLibrary args =    case find (== "base") (A.ignore args) of-	Just _  -> args-	Nothing -> args { A.ignore = "base" : A.ignore args }+        Just _  -> args+        Nothing -> args { A.ignore = "base" : A.ignore args }   packageDescription :: FilePath -> EitherT Error IO GenericPackageDescription
tests/Main.hs view
@@ -27,10 +27,15 @@    where       buildSetupConfig curDir = do          let inputFiles = curDir </> "tests" </> "inputFiles"-         Dir.setCurrentDirectory $ inputFiles </> "setup-config-build-env"+         let buildDir   = inputFiles </> "setup-config-build-env"+         let libsDir    = buildDir </> "libs"+         Dir.setCurrentDirectory buildDir           Proc.runCommand "cabal sandbox init" >>= Proc.waitForProcess-         Proc.runCommand "cabal install -j"   >>= Proc.waitForProcess+         Proc.runCommand ("cabal sandbox add-source " ++ (libsDir </> "A")) >>= Proc.waitForProcess+         Proc.runCommand ("cabal sandbox add-source " ++ (libsDir </> "B")) >>= Proc.waitForProcess+         Proc.runCommand ("cabal sandbox add-source " ++ (libsDir </> "C")) >>= Proc.waitForProcess+         Proc.runCommand "cabal install" >>= Proc.waitForProcess           [distDir] <- glob $ "dist" </> "dist-sandbox-*"          Dir.copyFile (distDir </> "setup-config") (inputFiles </> "setup-config")@@ -64,8 +69,8 @@    , test "DropUpperOfTest" $ defaultDrop { upper = True, testSuite = ["some-test"] }    , test "DropBothOnlyBase" $ defaultDrop { only = ["base"] }    , test "DropUpperOnlyBase" $ defaultDrop { upper = True, only = ["base"] }-   , test "DropBothIgnoreBase" $ defaultDrop { ignore = ["base"] }-   , test "DropUpperIgnoreBase" $ defaultDrop { upper = True, ignore = ["base"] }+   , test "DropBothIgnoreA" $ defaultDrop { ignore = ["A"] }+   , test "DropUpperIgnoreA" $ defaultDrop { upper = True, ignore = ["A"] }    ]  @@ -90,10 +95,7 @@    , test "UpdateUpperOfLibrary" $ defaultUpdate { upper = True, library = True }    , test "UpdateUpperOfOtherExe" $ defaultUpdate { upper = True, executable = ["other-exe"] }    , test "UpdateUpperOfTest" $ defaultUpdate { upper = True, testSuite = ["some-test"] }-   , test "UpdateBothOnlyBase" $ defaultUpdate { only = ["base"] }-   , test "UpdateUpperOnlyBase" $ defaultUpdate { upper = True, only = ["base"] }-   , test "UpdateBothIgnoreBase" $ defaultUpdate { ignore = ["base"] }-   , test "UpdateLowerIgnoreBase" $ defaultUpdate { lower = True, ignore = ["base"] }+   , test "UpdateBothIgnoreA" $ defaultUpdate { ignore = ["A"] }    , test "UpdateMinorLower" $ defaultUpdate { lowerComp = Just Minor }    , test "UpdateMajor2Lower" $ defaultUpdate { lowerComp = Just Major2 }    , test "UpdateMajor1Lower" $ defaultUpdate { lowerComp = Just Major1 }@@ -103,27 +105,19 @@    , test "UpdateMinorLowerAndUpper" $ defaultUpdate { lowerComp = Just Minor, upperComp = Just Minor }    , test "UpdateMajor1LowerAndUpper" $ defaultUpdate { lowerComp = Just Major1, upperComp = Just Major1 }    , test "UpdateOnlyMissing" $ defaultUpdate { missing = True }-   , testWithoutSetupConfig "UpdateByHaskellPlatform" $ defaultUpdate { haskellPlatform = "2013.2.0.0" }-   , testWithoutSetupConfig "FromFile" $ defaultUpdate { upper = True, fromFile = "tests" </> "inputFiles" </> "FromFile.hs" }+   , test "UpdateByHaskellPlatform" $ defaultUpdate { haskellPlatform = "2013.2.0.0" }+   , test "UpdateUpperFromFile" $ defaultUpdate { upper = True, fromFile = "tests" </> "inputFiles" </> "FromFile.hs" }    ]   dumpTests :: T.TestTree dumpTests = T.testGroup "Dump Tests"-   [ testWithoutSetupConfig "Dump" $ defaultDump+   [ test "Dump" $ defaultDump    ]   test :: String -> Args -> T.TestTree-test testName args = test_ testName args True---testWithoutSetupConfig :: String -> Args -> T.TestTree-testWithoutSetupConfig testName args = test_ testName args False---test_ :: String -> Args -> Bool -> T.TestTree-test_ testName args withSetupConfig =+test testName args =    G.goldenVsFileDiff testName diff goldenFile outputFile command    where       command = do@@ -139,7 +133,7 @@                                 }               Update {} -> args { cabalFile       = Just inputFile                                 , output          = Just outputFile-                                , setupConfigFile = if withSetupConfig then Just setupConfigFile else Nothing+                                , setupConfigFile = Just setupConfigFile                                 }                Dump {}   -> args { cabalFiles = [inputFile]@@ -149,6 +143,12 @@       diff ref new    = ["diff", "-u", ref, new]       goldenFile      = "tests" </> "goldenFiles" </> testName <.> (if isDumpTest then "hs" else "cabal")       outputFile      = "tests" </> "outputFiles" </> testName <.> (if isDumpTest then "hs" else "cabal")-      inputFile       = "tests" </> "inputFiles"  </> "original.cabal"++      inputFile       = "tests" </> "inputFiles" </> (inputFileName testName)+         where+            inputFileName "UpdateByHaskellPlatform" = "hp-original.cabal"+            inputFileName "UpdateOnlyMissing"       = "missing-original.cabal"+            inputFileName _                         = "original.cabal"+       setupConfigFile = "tests" </> "inputFiles"  </> "setup-config"       isDumpTest      = case args of Dump {} -> True; _ -> False
+ tests/goldenFiles/DropBothIgnoreA.cabal view
@@ -0,0 +1,89 @@+name: setup-config+version: 0.1+cabal-version: >=1.9.2+build-type: Simple+license: UnspecifiedLicense+maintainer: daniel.trstenjak@gmail.com+author: Daniel Trstenjak++library+    exposed-modules:+        CabalBounds.Args+        CabalBounds.Command+        CabalBounds.Execute+        CabalBounds.Lenses+    build-depends:+        base >=3,+        A >=0.1 && <0.2,+        B -any,+        C -any+    hs-source-dirs: src+    other-modules:+        Paths_setup_config++executable cabal-bounds+    main-is: ExeMain1.hs+    build-depends:+        base >=3,+        A >=0.1 && <0.2,+        B -any,+        C -any+    cpp-options: -DCABAL+    hs-source-dirs: src+    other-modules:+        Paths_setup_config+        CabalBounds.Args+        CabalBounds.Command+        CabalBounds.Execute+        CabalBounds.Lenses+    ghc-options: -W++executable other-exe+    main-is: ExeMain2.hs+    build-depends:+        base >=3,+        A >=0.1 && <0.2,+        B -any,+        C -any+    cpp-options: -DCABAL+    hs-source-dirs: src+    other-modules:+        Paths_setup_config+        CabalBounds.Args+        CabalBounds.Command+        CabalBounds.Execute+        CabalBounds.Lenses+    ghc-options: -W++test-suite some-test+    type: exitcode-stdio-1.0+    main-is: TestMain1.hs+    build-depends:+        base >=3,+        A >=0.1 && <0.2,+        B -any,+        C -any+    hs-source-dirs: src+    other-modules:+        Paths_setup_config+        CabalBounds.Args+        CabalBounds.Command+        CabalBounds.Execute+        CabalBounds.Lenses+    ghc-options: -W+test-suite other-test+    type: exitcode-stdio-1.0+    main-is: TestMain2.hs+    build-depends:+        base >=3,+        A >=0.1 && <0.2,+        B -any,+        C -any+    hs-source-dirs: src+    other-modules:+        Paths_setup_config+        CabalBounds.Args+        CabalBounds.Command+        CabalBounds.Execute+        CabalBounds.Lenses+    ghc-options: -W
− tests/goldenFiles/DropBothIgnoreBase.cabal
@@ -1,107 +0,0 @@-name: cabal-bounds-version: 0.1-cabal-version: >=1.9.2-build-type: Simple-license: UnspecifiedLicense-maintainer: daniel.trstenjak@gmail.com-synopsis: A command line program for managing the bounds/versions of the dependencies in a cabal file.-description:-    A command line program for managing the bounds/versions of the dependencies in a cabal file.-category: Utils-author: Daniel Trstenjak--source-repository head-    type: git-    location: https://github.com/dan-t/cabal-bounds--library-    build-depends:-        base >=3 && <5,-        cmdargs -any,-        lens -any,-        pretty-show -any,-        strict -any,-        Cabal -any-    exposed-modules:-        CabalBounds.Args-        CabalBounds.Command-        CabalBounds.Execute-        CabalBounds.Lenses-    hs-source-dirs: src-    other-modules:-        Paths_cabal_bounds--executable cabal-bounds-    build-depends:-        base >=3 && <5,-        cmdargs -any,-        lens -any,-        pretty-show -any,-        strict -any,-        Cabal -any-    main-is: ExeMain1.hs-    cpp-options: -DCABAL-    hs-source-dirs: src-    other-modules:-        Paths_cabal_bounds-        CabalBounds.Args-        CabalBounds.Command-        CabalBounds.Execute-        CabalBounds.Lenses-    ghc-options: -W--executable other-exe-    build-depends:-        base >=3 && <5,-        cmdargs -any,-        lens -any,-        pretty-show -any,-        strict -any,-        Cabal -any-    main-is: ExeMain2.hs-    cpp-options: -DCABAL-    hs-source-dirs: src-    other-modules:-        Paths_cabal_bounds-        CabalBounds.Args-        CabalBounds.Command-        CabalBounds.Execute-        CabalBounds.Lenses-    ghc-options: -W--test-suite some-test-    build-depends:-        base >=3 && <5,-        cmdargs -any,-        lens -any,-        pretty-show -any,-        strict -any,-        Cabal -any-    type: exitcode-stdio-1.0-    main-is: TestMain1.hs-    hs-source-dirs: src-    other-modules:-        Paths_cabal_bounds-        CabalBounds.Args-        CabalBounds.Command-        CabalBounds.Execute-        CabalBounds.Lenses-    ghc-options: -W-test-suite other-test-    build-depends:-        base >=3 && <5,-        cmdargs -any,-        lens -any,-        pretty-show -any,-        strict -any,-        Cabal -any-    type: exitcode-stdio-1.0-    main-is: TestMain2.hs-    hs-source-dirs: src-    other-modules:-        Paths_cabal_bounds-        CabalBounds.Args-        CabalBounds.Command-        CabalBounds.Execute-        CabalBounds.Lenses-    ghc-options: -W
tests/goldenFiles/DropBothOfAll.cabal view
@@ -1,49 +1,37 @@-name: cabal-bounds+name: setup-config version: 0.1 cabal-version: >=1.9.2 build-type: Simple license: UnspecifiedLicense maintainer: daniel.trstenjak@gmail.com-synopsis: A command line program for managing the bounds/versions of the dependencies in a cabal file.-description:-    A command line program for managing the bounds/versions of the dependencies in a cabal file.-category: Utils author: Daniel Trstenjak -source-repository head-    type: git-    location: https://github.com/dan-t/cabal-bounds- library-    build-depends:-        base >=3 && <5,-        cmdargs -any,-        lens -any,-        pretty-show -any,-        strict -any,-        Cabal -any     exposed-modules:         CabalBounds.Args         CabalBounds.Command         CabalBounds.Execute         CabalBounds.Lenses+    build-depends:+        base >=3,+        A -any,+        B -any,+        C -any     hs-source-dirs: src     other-modules:-        Paths_cabal_bounds+        Paths_setup_config  executable cabal-bounds-    build-depends:-        base >=3 && <5,-        cmdargs -any,-        lens -any,-        pretty-show -any,-        strict -any,-        Cabal -any     main-is: ExeMain1.hs+    build-depends:+        base >=3,+        A -any,+        B -any,+        C -any     cpp-options: -DCABAL     hs-source-dirs: src     other-modules:-        Paths_cabal_bounds+        Paths_setup_config         CabalBounds.Args         CabalBounds.Command         CabalBounds.Execute@@ -51,18 +39,16 @@     ghc-options: -W  executable other-exe-    build-depends:-        base >=3 && <5,-        cmdargs -any,-        lens -any,-        pretty-show -any,-        strict -any,-        Cabal -any     main-is: ExeMain2.hs+    build-depends:+        base >=3,+        A -any,+        B -any,+        C -any     cpp-options: -DCABAL     hs-source-dirs: src     other-modules:-        Paths_cabal_bounds+        Paths_setup_config         CabalBounds.Args         CabalBounds.Command         CabalBounds.Execute@@ -70,36 +56,32 @@     ghc-options: -W  test-suite some-test-    build-depends:-        base >=3 && <5,-        cmdargs -any,-        lens -any,-        pretty-show -any,-        strict -any,-        Cabal -any     type: exitcode-stdio-1.0     main-is: TestMain1.hs+    build-depends:+        base >=3,+        A -any,+        B -any,+        C -any     hs-source-dirs: src     other-modules:-        Paths_cabal_bounds+        Paths_setup_config         CabalBounds.Args         CabalBounds.Command         CabalBounds.Execute         CabalBounds.Lenses     ghc-options: -W test-suite other-test-    build-depends:-        base >=3 && <5,-        cmdargs -any,-        lens -any,-        pretty-show -any,-        strict -any,-        Cabal -any     type: exitcode-stdio-1.0     main-is: TestMain2.hs+    build-depends:+        base >=3,+        A -any,+        B -any,+        C -any     hs-source-dirs: src     other-modules:-        Paths_cabal_bounds+        Paths_setup_config         CabalBounds.Args         CabalBounds.Command         CabalBounds.Execute
tests/goldenFiles/DropBothOfAllExes.cabal view
@@ -1,49 +1,37 @@-name: cabal-bounds+name: setup-config version: 0.1 cabal-version: >=1.9.2 build-type: Simple license: UnspecifiedLicense maintainer: daniel.trstenjak@gmail.com-synopsis: A command line program for managing the bounds/versions of the dependencies in a cabal file.-description:-    A command line program for managing the bounds/versions of the dependencies in a cabal file.-category: Utils author: Daniel Trstenjak -source-repository head-    type: git-    location: https://github.com/dan-t/cabal-bounds- library-    build-depends:-        base >=3 && <5,-        cmdargs >=0.10.5 && <0.11,-        lens -any,-        pretty-show -any,-        strict -any,-        Cabal -any     exposed-modules:         CabalBounds.Args         CabalBounds.Command         CabalBounds.Execute         CabalBounds.Lenses+    build-depends:+        base >=3,+        A >=0.1 && <0.2,+        B >=0.2 && <0.3,+        C >=0.1 && <0.4     hs-source-dirs: src     other-modules:-        Paths_cabal_bounds+        Paths_setup_config  executable cabal-bounds-    build-depends:-        base >=3 && <5,-        cmdargs -any,-        lens -any,-        pretty-show -any,-        strict -any,-        Cabal -any     main-is: ExeMain1.hs+    build-depends:+        base >=3,+        A -any,+        B -any,+        C -any     cpp-options: -DCABAL     hs-source-dirs: src     other-modules:-        Paths_cabal_bounds+        Paths_setup_config         CabalBounds.Args         CabalBounds.Command         CabalBounds.Execute@@ -51,18 +39,16 @@     ghc-options: -W  executable other-exe-    build-depends:-        base >=3 && <5,-        cmdargs -any,-        lens -any,-        pretty-show -any,-        strict -any,-        Cabal -any     main-is: ExeMain2.hs+    build-depends:+        base >=3,+        A -any,+        B -any,+        C -any     cpp-options: -DCABAL     hs-source-dirs: src     other-modules:-        Paths_cabal_bounds+        Paths_setup_config         CabalBounds.Args         CabalBounds.Command         CabalBounds.Execute@@ -70,36 +56,32 @@     ghc-options: -W  test-suite some-test-    build-depends:-        base >=3 && <5,-        cmdargs >=0.10.5 && <0.11,-        lens -any,-        pretty-show -any,-        strict -any,-        Cabal -any     type: exitcode-stdio-1.0     main-is: TestMain1.hs+    build-depends:+        base >=3,+        A >=0.1 && <0.2,+        B >=0.2 && <0.3,+        C >=0.1 && <0.4     hs-source-dirs: src     other-modules:-        Paths_cabal_bounds+        Paths_setup_config         CabalBounds.Args         CabalBounds.Command         CabalBounds.Execute         CabalBounds.Lenses     ghc-options: -W test-suite other-test-    build-depends:-        base >=3 && <5,-        cmdargs >=0.10.5 && <0.11,-        lens -any,-        pretty-show -any,-        strict -any,-        Cabal -any     type: exitcode-stdio-1.0     main-is: TestMain2.hs+    build-depends:+        base >=3,+        A >=0.1 && <0.2,+        B >=0.2 && <0.3,+        C >=0.1 && <0.4     hs-source-dirs: src     other-modules:-        Paths_cabal_bounds+        Paths_setup_config         CabalBounds.Args         CabalBounds.Command         CabalBounds.Execute
tests/goldenFiles/DropBothOfExe.cabal view
@@ -1,49 +1,37 @@-name: cabal-bounds+name: setup-config version: 0.1 cabal-version: >=1.9.2 build-type: Simple license: UnspecifiedLicense maintainer: daniel.trstenjak@gmail.com-synopsis: A command line program for managing the bounds/versions of the dependencies in a cabal file.-description:-    A command line program for managing the bounds/versions of the dependencies in a cabal file.-category: Utils author: Daniel Trstenjak -source-repository head-    type: git-    location: https://github.com/dan-t/cabal-bounds- library-    build-depends:-        base >=3 && <5,-        cmdargs >=0.10.5 && <0.11,-        lens -any,-        pretty-show -any,-        strict -any,-        Cabal -any     exposed-modules:         CabalBounds.Args         CabalBounds.Command         CabalBounds.Execute         CabalBounds.Lenses+    build-depends:+        base >=3,+        A >=0.1 && <0.2,+        B >=0.2 && <0.3,+        C >=0.1 && <0.4     hs-source-dirs: src     other-modules:-        Paths_cabal_bounds+        Paths_setup_config  executable cabal-bounds-    build-depends:-        base >=3 && <5,-        cmdargs -any,-        lens -any,-        pretty-show -any,-        strict -any,-        Cabal -any     main-is: ExeMain1.hs+    build-depends:+        base >=3,+        A -any,+        B -any,+        C -any     cpp-options: -DCABAL     hs-source-dirs: src     other-modules:-        Paths_cabal_bounds+        Paths_setup_config         CabalBounds.Args         CabalBounds.Command         CabalBounds.Execute@@ -51,18 +39,16 @@     ghc-options: -W  executable other-exe-    build-depends:-        base >=3 && <5,-        cmdargs >=0.10.5 && <0.11,-        lens -any,-        pretty-show -any,-        strict -any,-        Cabal -any     main-is: ExeMain2.hs+    build-depends:+        base >=3,+        A >=0.1 && <0.2,+        B >=0.2 && <0.3,+        C >=0.1 && <0.4     cpp-options: -DCABAL     hs-source-dirs: src     other-modules:-        Paths_cabal_bounds+        Paths_setup_config         CabalBounds.Args         CabalBounds.Command         CabalBounds.Execute@@ -70,36 +56,32 @@     ghc-options: -W  test-suite some-test-    build-depends:-        base >=3 && <5,-        cmdargs >=0.10.5 && <0.11,-        lens -any,-        pretty-show -any,-        strict -any,-        Cabal -any     type: exitcode-stdio-1.0     main-is: TestMain1.hs+    build-depends:+        base >=3,+        A >=0.1 && <0.2,+        B >=0.2 && <0.3,+        C >=0.1 && <0.4     hs-source-dirs: src     other-modules:-        Paths_cabal_bounds+        Paths_setup_config         CabalBounds.Args         CabalBounds.Command         CabalBounds.Execute         CabalBounds.Lenses     ghc-options: -W test-suite other-test-    build-depends:-        base >=3 && <5,-        cmdargs >=0.10.5 && <0.11,-        lens -any,-        pretty-show -any,-        strict -any,-        Cabal -any     type: exitcode-stdio-1.0     main-is: TestMain2.hs+    build-depends:+        base >=3,+        A >=0.1 && <0.2,+        B >=0.2 && <0.3,+        C >=0.1 && <0.4     hs-source-dirs: src     other-modules:-        Paths_cabal_bounds+        Paths_setup_config         CabalBounds.Args         CabalBounds.Command         CabalBounds.Execute
tests/goldenFiles/DropBothOfLib.cabal view
@@ -1,49 +1,37 @@-name: cabal-bounds+name: setup-config version: 0.1 cabal-version: >=1.9.2 build-type: Simple license: UnspecifiedLicense maintainer: daniel.trstenjak@gmail.com-synopsis: A command line program for managing the bounds/versions of the dependencies in a cabal file.-description:-    A command line program for managing the bounds/versions of the dependencies in a cabal file.-category: Utils author: Daniel Trstenjak -source-repository head-    type: git-    location: https://github.com/dan-t/cabal-bounds- library-    build-depends:-        base >=3 && <5,-        cmdargs -any,-        lens -any,-        pretty-show -any,-        strict -any,-        Cabal -any     exposed-modules:         CabalBounds.Args         CabalBounds.Command         CabalBounds.Execute         CabalBounds.Lenses+    build-depends:+        base >=3,+        A -any,+        B -any,+        C -any     hs-source-dirs: src     other-modules:-        Paths_cabal_bounds+        Paths_setup_config  executable cabal-bounds-    build-depends:-        base >=3 && <5,-        cmdargs >=0.10.5 && <0.11,-        lens -any,-        pretty-show -any,-        strict -any,-        Cabal -any     main-is: ExeMain1.hs+    build-depends:+        base >=3,+        A >=0.1 && <0.2,+        B >=0.2 && <0.3,+        C >=0.1 && <0.4     cpp-options: -DCABAL     hs-source-dirs: src     other-modules:-        Paths_cabal_bounds+        Paths_setup_config         CabalBounds.Args         CabalBounds.Command         CabalBounds.Execute@@ -51,18 +39,16 @@     ghc-options: -W  executable other-exe-    build-depends:-        base >=3 && <5,-        cmdargs >=0.10.5 && <0.11,-        lens -any,-        pretty-show -any,-        strict -any,-        Cabal -any     main-is: ExeMain2.hs+    build-depends:+        base >=3,+        A >=0.1 && <0.2,+        B >=0.2 && <0.3,+        C >=0.1 && <0.4     cpp-options: -DCABAL     hs-source-dirs: src     other-modules:-        Paths_cabal_bounds+        Paths_setup_config         CabalBounds.Args         CabalBounds.Command         CabalBounds.Execute@@ -70,36 +56,32 @@     ghc-options: -W  test-suite some-test-    build-depends:-        base >=3 && <5,-        cmdargs >=0.10.5 && <0.11,-        lens -any,-        pretty-show -any,-        strict -any,-        Cabal -any     type: exitcode-stdio-1.0     main-is: TestMain1.hs+    build-depends:+        base >=3,+        A >=0.1 && <0.2,+        B >=0.2 && <0.3,+        C >=0.1 && <0.4     hs-source-dirs: src     other-modules:-        Paths_cabal_bounds+        Paths_setup_config         CabalBounds.Args         CabalBounds.Command         CabalBounds.Execute         CabalBounds.Lenses     ghc-options: -W test-suite other-test-    build-depends:-        base >=3 && <5,-        cmdargs >=0.10.5 && <0.11,-        lens -any,-        pretty-show -any,-        strict -any,-        Cabal -any     type: exitcode-stdio-1.0     main-is: TestMain2.hs+    build-depends:+        base >=3,+        A >=0.1 && <0.2,+        B >=0.2 && <0.3,+        C >=0.1 && <0.4     hs-source-dirs: src     other-modules:-        Paths_cabal_bounds+        Paths_setup_config         CabalBounds.Args         CabalBounds.Command         CabalBounds.Execute
tests/goldenFiles/DropBothOfOtherExe.cabal view
@@ -1,49 +1,37 @@-name: cabal-bounds+name: setup-config version: 0.1 cabal-version: >=1.9.2 build-type: Simple license: UnspecifiedLicense maintainer: daniel.trstenjak@gmail.com-synopsis: A command line program for managing the bounds/versions of the dependencies in a cabal file.-description:-    A command line program for managing the bounds/versions of the dependencies in a cabal file.-category: Utils author: Daniel Trstenjak -source-repository head-    type: git-    location: https://github.com/dan-t/cabal-bounds- library-    build-depends:-        base >=3 && <5,-        cmdargs >=0.10.5 && <0.11,-        lens -any,-        pretty-show -any,-        strict -any,-        Cabal -any     exposed-modules:         CabalBounds.Args         CabalBounds.Command         CabalBounds.Execute         CabalBounds.Lenses+    build-depends:+        base >=3,+        A >=0.1 && <0.2,+        B >=0.2 && <0.3,+        C >=0.1 && <0.4     hs-source-dirs: src     other-modules:-        Paths_cabal_bounds+        Paths_setup_config  executable cabal-bounds-    build-depends:-        base >=3 && <5,-        cmdargs >=0.10.5 && <0.11,-        lens -any,-        pretty-show -any,-        strict -any,-        Cabal -any     main-is: ExeMain1.hs+    build-depends:+        base >=3,+        A >=0.1 && <0.2,+        B >=0.2 && <0.3,+        C >=0.1 && <0.4     cpp-options: -DCABAL     hs-source-dirs: src     other-modules:-        Paths_cabal_bounds+        Paths_setup_config         CabalBounds.Args         CabalBounds.Command         CabalBounds.Execute@@ -51,18 +39,16 @@     ghc-options: -W  executable other-exe-    build-depends:-        base >=3 && <5,-        cmdargs -any,-        lens -any,-        pretty-show -any,-        strict -any,-        Cabal -any     main-is: ExeMain2.hs+    build-depends:+        base >=3,+        A -any,+        B -any,+        C -any     cpp-options: -DCABAL     hs-source-dirs: src     other-modules:-        Paths_cabal_bounds+        Paths_setup_config         CabalBounds.Args         CabalBounds.Command         CabalBounds.Execute@@ -70,36 +56,32 @@     ghc-options: -W  test-suite some-test-    build-depends:-        base >=3 && <5,-        cmdargs >=0.10.5 && <0.11,-        lens -any,-        pretty-show -any,-        strict -any,-        Cabal -any     type: exitcode-stdio-1.0     main-is: TestMain1.hs+    build-depends:+        base >=3,+        A >=0.1 && <0.2,+        B >=0.2 && <0.3,+        C >=0.1 && <0.4     hs-source-dirs: src     other-modules:-        Paths_cabal_bounds+        Paths_setup_config         CabalBounds.Args         CabalBounds.Command         CabalBounds.Execute         CabalBounds.Lenses     ghc-options: -W test-suite other-test-    build-depends:-        base >=3 && <5,-        cmdargs >=0.10.5 && <0.11,-        lens -any,-        pretty-show -any,-        strict -any,-        Cabal -any     type: exitcode-stdio-1.0     main-is: TestMain2.hs+    build-depends:+        base >=3,+        A >=0.1 && <0.2,+        B >=0.2 && <0.3,+        C >=0.1 && <0.4     hs-source-dirs: src     other-modules:-        Paths_cabal_bounds+        Paths_setup_config         CabalBounds.Args         CabalBounds.Command         CabalBounds.Execute
tests/goldenFiles/DropBothOfTest.cabal view
@@ -1,49 +1,37 @@-name: cabal-bounds+name: setup-config version: 0.1 cabal-version: >=1.9.2 build-type: Simple license: UnspecifiedLicense maintainer: daniel.trstenjak@gmail.com-synopsis: A command line program for managing the bounds/versions of the dependencies in a cabal file.-description:-    A command line program for managing the bounds/versions of the dependencies in a cabal file.-category: Utils author: Daniel Trstenjak -source-repository head-    type: git-    location: https://github.com/dan-t/cabal-bounds- library-    build-depends:-        base >=3 && <5,-        cmdargs >=0.10.5 && <0.11,-        lens -any,-        pretty-show -any,-        strict -any,-        Cabal -any     exposed-modules:         CabalBounds.Args         CabalBounds.Command         CabalBounds.Execute         CabalBounds.Lenses+    build-depends:+        base >=3,+        A >=0.1 && <0.2,+        B >=0.2 && <0.3,+        C >=0.1 && <0.4     hs-source-dirs: src     other-modules:-        Paths_cabal_bounds+        Paths_setup_config  executable cabal-bounds-    build-depends:-        base >=3 && <5,-        cmdargs >=0.10.5 && <0.11,-        lens -any,-        pretty-show -any,-        strict -any,-        Cabal -any     main-is: ExeMain1.hs+    build-depends:+        base >=3,+        A >=0.1 && <0.2,+        B >=0.2 && <0.3,+        C >=0.1 && <0.4     cpp-options: -DCABAL     hs-source-dirs: src     other-modules:-        Paths_cabal_bounds+        Paths_setup_config         CabalBounds.Args         CabalBounds.Command         CabalBounds.Execute@@ -51,18 +39,16 @@     ghc-options: -W  executable other-exe-    build-depends:-        base >=3 && <5,-        cmdargs >=0.10.5 && <0.11,-        lens -any,-        pretty-show -any,-        strict -any,-        Cabal -any     main-is: ExeMain2.hs+    build-depends:+        base >=3,+        A >=0.1 && <0.2,+        B >=0.2 && <0.3,+        C >=0.1 && <0.4     cpp-options: -DCABAL     hs-source-dirs: src     other-modules:-        Paths_cabal_bounds+        Paths_setup_config         CabalBounds.Args         CabalBounds.Command         CabalBounds.Execute@@ -70,36 +56,32 @@     ghc-options: -W  test-suite some-test-    build-depends:-        base >=3 && <5,-        cmdargs -any,-        lens -any,-        pretty-show -any,-        strict -any,-        Cabal -any     type: exitcode-stdio-1.0     main-is: TestMain1.hs+    build-depends:+        base >=3,+        A -any,+        B -any,+        C -any     hs-source-dirs: src     other-modules:-        Paths_cabal_bounds+        Paths_setup_config         CabalBounds.Args         CabalBounds.Command         CabalBounds.Execute         CabalBounds.Lenses     ghc-options: -W test-suite other-test-    build-depends:-        base >=3 && <5,-        cmdargs >=0.10.5 && <0.11,-        lens -any,-        pretty-show -any,-        strict -any,-        Cabal -any     type: exitcode-stdio-1.0     main-is: TestMain2.hs+    build-depends:+        base >=3,+        A >=0.1 && <0.2,+        B >=0.2 && <0.3,+        C >=0.1 && <0.4     hs-source-dirs: src     other-modules:-        Paths_cabal_bounds+        Paths_setup_config         CabalBounds.Args         CabalBounds.Command         CabalBounds.Execute
tests/goldenFiles/DropBothOnlyBase.cabal view
@@ -1,49 +1,37 @@-name: cabal-bounds+name: setup-config version: 0.1 cabal-version: >=1.9.2 build-type: Simple license: UnspecifiedLicense maintainer: daniel.trstenjak@gmail.com-synopsis: A command line program for managing the bounds/versions of the dependencies in a cabal file.-description:-    A command line program for managing the bounds/versions of the dependencies in a cabal file.-category: Utils author: Daniel Trstenjak -source-repository head-    type: git-    location: https://github.com/dan-t/cabal-bounds- library-    build-depends:-        base -any,-        cmdargs >=0.10.5 && <0.11,-        lens -any,-        pretty-show -any,-        strict -any,-        Cabal -any     exposed-modules:         CabalBounds.Args         CabalBounds.Command         CabalBounds.Execute         CabalBounds.Lenses+    build-depends:+        base -any,+        A >=0.1 && <0.2,+        B >=0.2 && <0.3,+        C >=0.1 && <0.4     hs-source-dirs: src     other-modules:-        Paths_cabal_bounds+        Paths_setup_config  executable cabal-bounds+    main-is: ExeMain1.hs     build-depends:         base -any,-        cmdargs >=0.10.5 && <0.11,-        lens -any,-        pretty-show -any,-        strict -any,-        Cabal -any-    main-is: ExeMain1.hs+        A >=0.1 && <0.2,+        B >=0.2 && <0.3,+        C >=0.1 && <0.4     cpp-options: -DCABAL     hs-source-dirs: src     other-modules:-        Paths_cabal_bounds+        Paths_setup_config         CabalBounds.Args         CabalBounds.Command         CabalBounds.Execute@@ -51,18 +39,16 @@     ghc-options: -W  executable other-exe+    main-is: ExeMain2.hs     build-depends:         base -any,-        cmdargs >=0.10.5 && <0.11,-        lens -any,-        pretty-show -any,-        strict -any,-        Cabal -any-    main-is: ExeMain2.hs+        A >=0.1 && <0.2,+        B >=0.2 && <0.3,+        C >=0.1 && <0.4     cpp-options: -DCABAL     hs-source-dirs: src     other-modules:-        Paths_cabal_bounds+        Paths_setup_config         CabalBounds.Args         CabalBounds.Command         CabalBounds.Execute@@ -70,36 +56,32 @@     ghc-options: -W  test-suite some-test-    build-depends:-        base -any,-        cmdargs >=0.10.5 && <0.11,-        lens -any,-        pretty-show -any,-        strict -any,-        Cabal -any     type: exitcode-stdio-1.0     main-is: TestMain1.hs+    build-depends:+        base -any,+        A >=0.1 && <0.2,+        B >=0.2 && <0.3,+        C >=0.1 && <0.4     hs-source-dirs: src     other-modules:-        Paths_cabal_bounds+        Paths_setup_config         CabalBounds.Args         CabalBounds.Command         CabalBounds.Execute         CabalBounds.Lenses     ghc-options: -W test-suite other-test-    build-depends:-        base -any,-        cmdargs >=0.10.5 && <0.11,-        lens -any,-        pretty-show -any,-        strict -any,-        Cabal -any     type: exitcode-stdio-1.0     main-is: TestMain2.hs+    build-depends:+        base -any,+        A >=0.1 && <0.2,+        B >=0.2 && <0.3,+        C >=0.1 && <0.4     hs-source-dirs: src     other-modules:-        Paths_cabal_bounds+        Paths_setup_config         CabalBounds.Args         CabalBounds.Command         CabalBounds.Execute
+ tests/goldenFiles/DropUpperIgnoreA.cabal view
@@ -0,0 +1,89 @@+name: setup-config+version: 0.1+cabal-version: >=1.9.2+build-type: Simple+license: UnspecifiedLicense+maintainer: daniel.trstenjak@gmail.com+author: Daniel Trstenjak++library+    exposed-modules:+        CabalBounds.Args+        CabalBounds.Command+        CabalBounds.Execute+        CabalBounds.Lenses+    build-depends:+        base >=3,+        A >=0.1 && <0.2,+        B >=0.2,+        C >=0.1+    hs-source-dirs: src+    other-modules:+        Paths_setup_config++executable cabal-bounds+    main-is: ExeMain1.hs+    build-depends:+        base >=3,+        A >=0.1 && <0.2,+        B >=0.2,+        C >=0.1+    cpp-options: -DCABAL+    hs-source-dirs: src+    other-modules:+        Paths_setup_config+        CabalBounds.Args+        CabalBounds.Command+        CabalBounds.Execute+        CabalBounds.Lenses+    ghc-options: -W++executable other-exe+    main-is: ExeMain2.hs+    build-depends:+        base >=3,+        A >=0.1 && <0.2,+        B >=0.2,+        C >=0.1+    cpp-options: -DCABAL+    hs-source-dirs: src+    other-modules:+        Paths_setup_config+        CabalBounds.Args+        CabalBounds.Command+        CabalBounds.Execute+        CabalBounds.Lenses+    ghc-options: -W++test-suite some-test+    type: exitcode-stdio-1.0+    main-is: TestMain1.hs+    build-depends:+        base >=3,+        A >=0.1 && <0.2,+        B >=0.2,+        C >=0.1+    hs-source-dirs: src+    other-modules:+        Paths_setup_config+        CabalBounds.Args+        CabalBounds.Command+        CabalBounds.Execute+        CabalBounds.Lenses+    ghc-options: -W+test-suite other-test+    type: exitcode-stdio-1.0+    main-is: TestMain2.hs+    build-depends:+        base >=3,+        A >=0.1 && <0.2,+        B >=0.2,+        C >=0.1+    hs-source-dirs: src+    other-modules:+        Paths_setup_config+        CabalBounds.Args+        CabalBounds.Command+        CabalBounds.Execute+        CabalBounds.Lenses+    ghc-options: -W
− tests/goldenFiles/DropUpperIgnoreBase.cabal
@@ -1,107 +0,0 @@-name: cabal-bounds-version: 0.1-cabal-version: >=1.9.2-build-type: Simple-license: UnspecifiedLicense-maintainer: daniel.trstenjak@gmail.com-synopsis: A command line program for managing the bounds/versions of the dependencies in a cabal file.-description:-    A command line program for managing the bounds/versions of the dependencies in a cabal file.-category: Utils-author: Daniel Trstenjak--source-repository head-    type: git-    location: https://github.com/dan-t/cabal-bounds--library-    build-depends:-        base >=3 && <5,-        cmdargs >=0.10.5,-        lens -any,-        pretty-show -any,-        strict -any,-        Cabal -any-    exposed-modules:-        CabalBounds.Args-        CabalBounds.Command-        CabalBounds.Execute-        CabalBounds.Lenses-    hs-source-dirs: src-    other-modules:-        Paths_cabal_bounds--executable cabal-bounds-    build-depends:-        base >=3 && <5,-        cmdargs >=0.10.5,-        lens -any,-        pretty-show -any,-        strict -any,-        Cabal -any-    main-is: ExeMain1.hs-    cpp-options: -DCABAL-    hs-source-dirs: src-    other-modules:-        Paths_cabal_bounds-        CabalBounds.Args-        CabalBounds.Command-        CabalBounds.Execute-        CabalBounds.Lenses-    ghc-options: -W--executable other-exe-    build-depends:-        base >=3 && <5,-        cmdargs >=0.10.5,-        lens -any,-        pretty-show -any,-        strict -any,-        Cabal -any-    main-is: ExeMain2.hs-    cpp-options: -DCABAL-    hs-source-dirs: src-    other-modules:-        Paths_cabal_bounds-        CabalBounds.Args-        CabalBounds.Command-        CabalBounds.Execute-        CabalBounds.Lenses-    ghc-options: -W--test-suite some-test-    build-depends:-        base >=3 && <5,-        cmdargs >=0.10.5,-        lens -any,-        pretty-show -any,-        strict -any,-        Cabal -any-    type: exitcode-stdio-1.0-    main-is: TestMain1.hs-    hs-source-dirs: src-    other-modules:-        Paths_cabal_bounds-        CabalBounds.Args-        CabalBounds.Command-        CabalBounds.Execute-        CabalBounds.Lenses-    ghc-options: -W-test-suite other-test-    build-depends:-        base >=3 && <5,-        cmdargs >=0.10.5,-        lens -any,-        pretty-show -any,-        strict -any,-        Cabal -any-    type: exitcode-stdio-1.0-    main-is: TestMain2.hs-    hs-source-dirs: src-    other-modules:-        Paths_cabal_bounds-        CabalBounds.Args-        CabalBounds.Command-        CabalBounds.Execute-        CabalBounds.Lenses-    ghc-options: -W
tests/goldenFiles/DropUpperOfAll.cabal view
@@ -1,49 +1,37 @@-name: cabal-bounds+name: setup-config version: 0.1 cabal-version: >=1.9.2 build-type: Simple license: UnspecifiedLicense maintainer: daniel.trstenjak@gmail.com-synopsis: A command line program for managing the bounds/versions of the dependencies in a cabal file.-description:-    A command line program for managing the bounds/versions of the dependencies in a cabal file.-category: Utils author: Daniel Trstenjak -source-repository head-    type: git-    location: https://github.com/dan-t/cabal-bounds- library-    build-depends:-        base >=3 && <5,-        cmdargs >=0.10.5,-        lens -any,-        pretty-show -any,-        strict -any,-        Cabal -any     exposed-modules:         CabalBounds.Args         CabalBounds.Command         CabalBounds.Execute         CabalBounds.Lenses+    build-depends:+        base >=3,+        A >=0.1,+        B >=0.2,+        C >=0.1     hs-source-dirs: src     other-modules:-        Paths_cabal_bounds+        Paths_setup_config  executable cabal-bounds-    build-depends:-        base >=3 && <5,-        cmdargs >=0.10.5,-        lens -any,-        pretty-show -any,-        strict -any,-        Cabal -any     main-is: ExeMain1.hs+    build-depends:+        base >=3,+        A >=0.1,+        B >=0.2,+        C >=0.1     cpp-options: -DCABAL     hs-source-dirs: src     other-modules:-        Paths_cabal_bounds+        Paths_setup_config         CabalBounds.Args         CabalBounds.Command         CabalBounds.Execute@@ -51,18 +39,16 @@     ghc-options: -W  executable other-exe-    build-depends:-        base >=3 && <5,-        cmdargs >=0.10.5,-        lens -any,-        pretty-show -any,-        strict -any,-        Cabal -any     main-is: ExeMain2.hs+    build-depends:+        base >=3,+        A >=0.1,+        B >=0.2,+        C >=0.1     cpp-options: -DCABAL     hs-source-dirs: src     other-modules:-        Paths_cabal_bounds+        Paths_setup_config         CabalBounds.Args         CabalBounds.Command         CabalBounds.Execute@@ -70,36 +56,32 @@     ghc-options: -W  test-suite some-test-    build-depends:-        base >=3 && <5,-        cmdargs >=0.10.5,-        lens -any,-        pretty-show -any,-        strict -any,-        Cabal -any     type: exitcode-stdio-1.0     main-is: TestMain1.hs+    build-depends:+        base >=3,+        A >=0.1,+        B >=0.2,+        C >=0.1     hs-source-dirs: src     other-modules:-        Paths_cabal_bounds+        Paths_setup_config         CabalBounds.Args         CabalBounds.Command         CabalBounds.Execute         CabalBounds.Lenses     ghc-options: -W test-suite other-test-    build-depends:-        base >=3 && <5,-        cmdargs >=0.10.5,-        lens -any,-        pretty-show -any,-        strict -any,-        Cabal -any     type: exitcode-stdio-1.0     main-is: TestMain2.hs+    build-depends:+        base >=3,+        A >=0.1,+        B >=0.2,+        C >=0.1     hs-source-dirs: src     other-modules:-        Paths_cabal_bounds+        Paths_setup_config         CabalBounds.Args         CabalBounds.Command         CabalBounds.Execute
tests/goldenFiles/DropUpperOfAllExes.cabal view
@@ -1,49 +1,37 @@-name: cabal-bounds+name: setup-config version: 0.1 cabal-version: >=1.9.2 build-type: Simple license: UnspecifiedLicense maintainer: daniel.trstenjak@gmail.com-synopsis: A command line program for managing the bounds/versions of the dependencies in a cabal file.-description:-    A command line program for managing the bounds/versions of the dependencies in a cabal file.-category: Utils author: Daniel Trstenjak -source-repository head-    type: git-    location: https://github.com/dan-t/cabal-bounds- library-    build-depends:-        base >=3 && <5,-        cmdargs >=0.10.5 && <0.11,-        lens -any,-        pretty-show -any,-        strict -any,-        Cabal -any     exposed-modules:         CabalBounds.Args         CabalBounds.Command         CabalBounds.Execute         CabalBounds.Lenses+    build-depends:+        base >=3,+        A >=0.1 && <0.2,+        B >=0.2 && <0.3,+        C >=0.1 && <0.4     hs-source-dirs: src     other-modules:-        Paths_cabal_bounds+        Paths_setup_config  executable cabal-bounds-    build-depends:-        base >=3 && <5,-        cmdargs >=0.10.5,-        lens -any,-        pretty-show -any,-        strict -any,-        Cabal -any     main-is: ExeMain1.hs+    build-depends:+        base >=3,+        A >=0.1,+        B >=0.2,+        C >=0.1     cpp-options: -DCABAL     hs-source-dirs: src     other-modules:-        Paths_cabal_bounds+        Paths_setup_config         CabalBounds.Args         CabalBounds.Command         CabalBounds.Execute@@ -51,18 +39,16 @@     ghc-options: -W  executable other-exe-    build-depends:-        base >=3 && <5,-        cmdargs >=0.10.5,-        lens -any,-        pretty-show -any,-        strict -any,-        Cabal -any     main-is: ExeMain2.hs+    build-depends:+        base >=3,+        A >=0.1,+        B >=0.2,+        C >=0.1     cpp-options: -DCABAL     hs-source-dirs: src     other-modules:-        Paths_cabal_bounds+        Paths_setup_config         CabalBounds.Args         CabalBounds.Command         CabalBounds.Execute@@ -70,36 +56,32 @@     ghc-options: -W  test-suite some-test-    build-depends:-        base >=3 && <5,-        cmdargs >=0.10.5 && <0.11,-        lens -any,-        pretty-show -any,-        strict -any,-        Cabal -any     type: exitcode-stdio-1.0     main-is: TestMain1.hs+    build-depends:+        base >=3,+        A >=0.1 && <0.2,+        B >=0.2 && <0.3,+        C >=0.1 && <0.4     hs-source-dirs: src     other-modules:-        Paths_cabal_bounds+        Paths_setup_config         CabalBounds.Args         CabalBounds.Command         CabalBounds.Execute         CabalBounds.Lenses     ghc-options: -W test-suite other-test-    build-depends:-        base >=3 && <5,-        cmdargs >=0.10.5 && <0.11,-        lens -any,-        pretty-show -any,-        strict -any,-        Cabal -any     type: exitcode-stdio-1.0     main-is: TestMain2.hs+    build-depends:+        base >=3,+        A >=0.1 && <0.2,+        B >=0.2 && <0.3,+        C >=0.1 && <0.4     hs-source-dirs: src     other-modules:-        Paths_cabal_bounds+        Paths_setup_config         CabalBounds.Args         CabalBounds.Command         CabalBounds.Execute
tests/goldenFiles/DropUpperOfExe.cabal view
@@ -1,49 +1,37 @@-name: cabal-bounds+name: setup-config version: 0.1 cabal-version: >=1.9.2 build-type: Simple license: UnspecifiedLicense maintainer: daniel.trstenjak@gmail.com-synopsis: A command line program for managing the bounds/versions of the dependencies in a cabal file.-description:-    A command line program for managing the bounds/versions of the dependencies in a cabal file.-category: Utils author: Daniel Trstenjak -source-repository head-    type: git-    location: https://github.com/dan-t/cabal-bounds- library-    build-depends:-        base >=3 && <5,-        cmdargs >=0.10.5 && <0.11,-        lens -any,-        pretty-show -any,-        strict -any,-        Cabal -any     exposed-modules:         CabalBounds.Args         CabalBounds.Command         CabalBounds.Execute         CabalBounds.Lenses+    build-depends:+        base >=3,+        A >=0.1 && <0.2,+        B >=0.2 && <0.3,+        C >=0.1 && <0.4     hs-source-dirs: src     other-modules:-        Paths_cabal_bounds+        Paths_setup_config  executable cabal-bounds-    build-depends:-        base >=3 && <5,-        cmdargs >=0.10.5,-        lens -any,-        pretty-show -any,-        strict -any,-        Cabal -any     main-is: ExeMain1.hs+    build-depends:+        base >=3,+        A >=0.1,+        B >=0.2,+        C >=0.1     cpp-options: -DCABAL     hs-source-dirs: src     other-modules:-        Paths_cabal_bounds+        Paths_setup_config         CabalBounds.Args         CabalBounds.Command         CabalBounds.Execute@@ -51,18 +39,16 @@     ghc-options: -W  executable other-exe-    build-depends:-        base >=3 && <5,-        cmdargs >=0.10.5 && <0.11,-        lens -any,-        pretty-show -any,-        strict -any,-        Cabal -any     main-is: ExeMain2.hs+    build-depends:+        base >=3,+        A >=0.1 && <0.2,+        B >=0.2 && <0.3,+        C >=0.1 && <0.4     cpp-options: -DCABAL     hs-source-dirs: src     other-modules:-        Paths_cabal_bounds+        Paths_setup_config         CabalBounds.Args         CabalBounds.Command         CabalBounds.Execute@@ -70,36 +56,32 @@     ghc-options: -W  test-suite some-test-    build-depends:-        base >=3 && <5,-        cmdargs >=0.10.5 && <0.11,-        lens -any,-        pretty-show -any,-        strict -any,-        Cabal -any     type: exitcode-stdio-1.0     main-is: TestMain1.hs+    build-depends:+        base >=3,+        A >=0.1 && <0.2,+        B >=0.2 && <0.3,+        C >=0.1 && <0.4     hs-source-dirs: src     other-modules:-        Paths_cabal_bounds+        Paths_setup_config         CabalBounds.Args         CabalBounds.Command         CabalBounds.Execute         CabalBounds.Lenses     ghc-options: -W test-suite other-test-    build-depends:-        base >=3 && <5,-        cmdargs >=0.10.5 && <0.11,-        lens -any,-        pretty-show -any,-        strict -any,-        Cabal -any     type: exitcode-stdio-1.0     main-is: TestMain2.hs+    build-depends:+        base >=3,+        A >=0.1 && <0.2,+        B >=0.2 && <0.3,+        C >=0.1 && <0.4     hs-source-dirs: src     other-modules:-        Paths_cabal_bounds+        Paths_setup_config         CabalBounds.Args         CabalBounds.Command         CabalBounds.Execute
tests/goldenFiles/DropUpperOfLib.cabal view
@@ -1,49 +1,37 @@-name: cabal-bounds+name: setup-config version: 0.1 cabal-version: >=1.9.2 build-type: Simple license: UnspecifiedLicense maintainer: daniel.trstenjak@gmail.com-synopsis: A command line program for managing the bounds/versions of the dependencies in a cabal file.-description:-    A command line program for managing the bounds/versions of the dependencies in a cabal file.-category: Utils author: Daniel Trstenjak -source-repository head-    type: git-    location: https://github.com/dan-t/cabal-bounds- library-    build-depends:-        base >=3 && <5,-        cmdargs >=0.10.5,-        lens -any,-        pretty-show -any,-        strict -any,-        Cabal -any     exposed-modules:         CabalBounds.Args         CabalBounds.Command         CabalBounds.Execute         CabalBounds.Lenses+    build-depends:+        base >=3,+        A >=0.1,+        B >=0.2,+        C >=0.1     hs-source-dirs: src     other-modules:-        Paths_cabal_bounds+        Paths_setup_config  executable cabal-bounds-    build-depends:-        base >=3 && <5,-        cmdargs >=0.10.5 && <0.11,-        lens -any,-        pretty-show -any,-        strict -any,-        Cabal -any     main-is: ExeMain1.hs+    build-depends:+        base >=3,+        A >=0.1 && <0.2,+        B >=0.2 && <0.3,+        C >=0.1 && <0.4     cpp-options: -DCABAL     hs-source-dirs: src     other-modules:-        Paths_cabal_bounds+        Paths_setup_config         CabalBounds.Args         CabalBounds.Command         CabalBounds.Execute@@ -51,18 +39,16 @@     ghc-options: -W  executable other-exe-    build-depends:-        base >=3 && <5,-        cmdargs >=0.10.5 && <0.11,-        lens -any,-        pretty-show -any,-        strict -any,-        Cabal -any     main-is: ExeMain2.hs+    build-depends:+        base >=3,+        A >=0.1 && <0.2,+        B >=0.2 && <0.3,+        C >=0.1 && <0.4     cpp-options: -DCABAL     hs-source-dirs: src     other-modules:-        Paths_cabal_bounds+        Paths_setup_config         CabalBounds.Args         CabalBounds.Command         CabalBounds.Execute@@ -70,36 +56,32 @@     ghc-options: -W  test-suite some-test-    build-depends:-        base >=3 && <5,-        cmdargs >=0.10.5 && <0.11,-        lens -any,-        pretty-show -any,-        strict -any,-        Cabal -any     type: exitcode-stdio-1.0     main-is: TestMain1.hs+    build-depends:+        base >=3,+        A >=0.1 && <0.2,+        B >=0.2 && <0.3,+        C >=0.1 && <0.4     hs-source-dirs: src     other-modules:-        Paths_cabal_bounds+        Paths_setup_config         CabalBounds.Args         CabalBounds.Command         CabalBounds.Execute         CabalBounds.Lenses     ghc-options: -W test-suite other-test-    build-depends:-        base >=3 && <5,-        cmdargs >=0.10.5 && <0.11,-        lens -any,-        pretty-show -any,-        strict -any,-        Cabal -any     type: exitcode-stdio-1.0     main-is: TestMain2.hs+    build-depends:+        base >=3,+        A >=0.1 && <0.2,+        B >=0.2 && <0.3,+        C >=0.1 && <0.4     hs-source-dirs: src     other-modules:-        Paths_cabal_bounds+        Paths_setup_config         CabalBounds.Args         CabalBounds.Command         CabalBounds.Execute
tests/goldenFiles/DropUpperOfOtherExe.cabal view
@@ -1,49 +1,37 @@-name: cabal-bounds+name: setup-config version: 0.1 cabal-version: >=1.9.2 build-type: Simple license: UnspecifiedLicense maintainer: daniel.trstenjak@gmail.com-synopsis: A command line program for managing the bounds/versions of the dependencies in a cabal file.-description:-    A command line program for managing the bounds/versions of the dependencies in a cabal file.-category: Utils author: Daniel Trstenjak -source-repository head-    type: git-    location: https://github.com/dan-t/cabal-bounds- library-    build-depends:-        base >=3 && <5,-        cmdargs >=0.10.5 && <0.11,-        lens -any,-        pretty-show -any,-        strict -any,-        Cabal -any     exposed-modules:         CabalBounds.Args         CabalBounds.Command         CabalBounds.Execute         CabalBounds.Lenses+    build-depends:+        base >=3,+        A >=0.1 && <0.2,+        B >=0.2 && <0.3,+        C >=0.1 && <0.4     hs-source-dirs: src     other-modules:-        Paths_cabal_bounds+        Paths_setup_config  executable cabal-bounds-    build-depends:-        base >=3 && <5,-        cmdargs >=0.10.5 && <0.11,-        lens -any,-        pretty-show -any,-        strict -any,-        Cabal -any     main-is: ExeMain1.hs+    build-depends:+        base >=3,+        A >=0.1 && <0.2,+        B >=0.2 && <0.3,+        C >=0.1 && <0.4     cpp-options: -DCABAL     hs-source-dirs: src     other-modules:-        Paths_cabal_bounds+        Paths_setup_config         CabalBounds.Args         CabalBounds.Command         CabalBounds.Execute@@ -51,18 +39,16 @@     ghc-options: -W  executable other-exe-    build-depends:-        base >=3 && <5,-        cmdargs >=0.10.5,-        lens -any,-        pretty-show -any,-        strict -any,-        Cabal -any     main-is: ExeMain2.hs+    build-depends:+        base >=3,+        A >=0.1,+        B >=0.2,+        C >=0.1     cpp-options: -DCABAL     hs-source-dirs: src     other-modules:-        Paths_cabal_bounds+        Paths_setup_config         CabalBounds.Args         CabalBounds.Command         CabalBounds.Execute@@ -70,36 +56,32 @@     ghc-options: -W  test-suite some-test-    build-depends:-        base >=3 && <5,-        cmdargs >=0.10.5 && <0.11,-        lens -any,-        pretty-show -any,-        strict -any,-        Cabal -any     type: exitcode-stdio-1.0     main-is: TestMain1.hs+    build-depends:+        base >=3,+        A >=0.1 && <0.2,+        B >=0.2 && <0.3,+        C >=0.1 && <0.4     hs-source-dirs: src     other-modules:-        Paths_cabal_bounds+        Paths_setup_config         CabalBounds.Args         CabalBounds.Command         CabalBounds.Execute         CabalBounds.Lenses     ghc-options: -W test-suite other-test-    build-depends:-        base >=3 && <5,-        cmdargs >=0.10.5 && <0.11,-        lens -any,-        pretty-show -any,-        strict -any,-        Cabal -any     type: exitcode-stdio-1.0     main-is: TestMain2.hs+    build-depends:+        base >=3,+        A >=0.1 && <0.2,+        B >=0.2 && <0.3,+        C >=0.1 && <0.4     hs-source-dirs: src     other-modules:-        Paths_cabal_bounds+        Paths_setup_config         CabalBounds.Args         CabalBounds.Command         CabalBounds.Execute
tests/goldenFiles/DropUpperOfTest.cabal view
@@ -1,49 +1,37 @@-name: cabal-bounds+name: setup-config version: 0.1 cabal-version: >=1.9.2 build-type: Simple license: UnspecifiedLicense maintainer: daniel.trstenjak@gmail.com-synopsis: A command line program for managing the bounds/versions of the dependencies in a cabal file.-description:-    A command line program for managing the bounds/versions of the dependencies in a cabal file.-category: Utils author: Daniel Trstenjak -source-repository head-    type: git-    location: https://github.com/dan-t/cabal-bounds- library-    build-depends:-        base >=3 && <5,-        cmdargs >=0.10.5 && <0.11,-        lens -any,-        pretty-show -any,-        strict -any,-        Cabal -any     exposed-modules:         CabalBounds.Args         CabalBounds.Command         CabalBounds.Execute         CabalBounds.Lenses+    build-depends:+        base >=3,+        A >=0.1 && <0.2,+        B >=0.2 && <0.3,+        C >=0.1 && <0.4     hs-source-dirs: src     other-modules:-        Paths_cabal_bounds+        Paths_setup_config  executable cabal-bounds-    build-depends:-        base >=3 && <5,-        cmdargs >=0.10.5 && <0.11,-        lens -any,-        pretty-show -any,-        strict -any,-        Cabal -any     main-is: ExeMain1.hs+    build-depends:+        base >=3,+        A >=0.1 && <0.2,+        B >=0.2 && <0.3,+        C >=0.1 && <0.4     cpp-options: -DCABAL     hs-source-dirs: src     other-modules:-        Paths_cabal_bounds+        Paths_setup_config         CabalBounds.Args         CabalBounds.Command         CabalBounds.Execute@@ -51,18 +39,16 @@     ghc-options: -W  executable other-exe-    build-depends:-        base >=3 && <5,-        cmdargs >=0.10.5 && <0.11,-        lens -any,-        pretty-show -any,-        strict -any,-        Cabal -any     main-is: ExeMain2.hs+    build-depends:+        base >=3,+        A >=0.1 && <0.2,+        B >=0.2 && <0.3,+        C >=0.1 && <0.4     cpp-options: -DCABAL     hs-source-dirs: src     other-modules:-        Paths_cabal_bounds+        Paths_setup_config         CabalBounds.Args         CabalBounds.Command         CabalBounds.Execute@@ -70,36 +56,32 @@     ghc-options: -W  test-suite some-test-    build-depends:-        base >=3 && <5,-        cmdargs >=0.10.5,-        lens -any,-        pretty-show -any,-        strict -any,-        Cabal -any     type: exitcode-stdio-1.0     main-is: TestMain1.hs+    build-depends:+        base >=3,+        A >=0.1,+        B >=0.2,+        C >=0.1     hs-source-dirs: src     other-modules:-        Paths_cabal_bounds+        Paths_setup_config         CabalBounds.Args         CabalBounds.Command         CabalBounds.Execute         CabalBounds.Lenses     ghc-options: -W test-suite other-test-    build-depends:-        base >=3 && <5,-        cmdargs >=0.10.5 && <0.11,-        lens -any,-        pretty-show -any,-        strict -any,-        Cabal -any     type: exitcode-stdio-1.0     main-is: TestMain2.hs+    build-depends:+        base >=3,+        A >=0.1 && <0.2,+        B >=0.2 && <0.3,+        C >=0.1 && <0.4     hs-source-dirs: src     other-modules:-        Paths_cabal_bounds+        Paths_setup_config         CabalBounds.Args         CabalBounds.Command         CabalBounds.Execute
tests/goldenFiles/DropUpperOnlyBase.cabal view
@@ -1,49 +1,37 @@-name: cabal-bounds+name: setup-config version: 0.1 cabal-version: >=1.9.2 build-type: Simple license: UnspecifiedLicense maintainer: daniel.trstenjak@gmail.com-synopsis: A command line program for managing the bounds/versions of the dependencies in a cabal file.-description:-    A command line program for managing the bounds/versions of the dependencies in a cabal file.-category: Utils author: Daniel Trstenjak -source-repository head-    type: git-    location: https://github.com/dan-t/cabal-bounds- library-    build-depends:-        base >=3,-        cmdargs >=0.10.5 && <0.11,-        lens -any,-        pretty-show -any,-        strict -any,-        Cabal -any     exposed-modules:         CabalBounds.Args         CabalBounds.Command         CabalBounds.Execute         CabalBounds.Lenses+    build-depends:+        base >=3,+        A >=0.1 && <0.2,+        B >=0.2 && <0.3,+        C >=0.1 && <0.4     hs-source-dirs: src     other-modules:-        Paths_cabal_bounds+        Paths_setup_config  executable cabal-bounds+    main-is: ExeMain1.hs     build-depends:         base >=3,-        cmdargs >=0.10.5 && <0.11,-        lens -any,-        pretty-show -any,-        strict -any,-        Cabal -any-    main-is: ExeMain1.hs+        A >=0.1 && <0.2,+        B >=0.2 && <0.3,+        C >=0.1 && <0.4     cpp-options: -DCABAL     hs-source-dirs: src     other-modules:-        Paths_cabal_bounds+        Paths_setup_config         CabalBounds.Args         CabalBounds.Command         CabalBounds.Execute@@ -51,18 +39,16 @@     ghc-options: -W  executable other-exe+    main-is: ExeMain2.hs     build-depends:         base >=3,-        cmdargs >=0.10.5 && <0.11,-        lens -any,-        pretty-show -any,-        strict -any,-        Cabal -any-    main-is: ExeMain2.hs+        A >=0.1 && <0.2,+        B >=0.2 && <0.3,+        C >=0.1 && <0.4     cpp-options: -DCABAL     hs-source-dirs: src     other-modules:-        Paths_cabal_bounds+        Paths_setup_config         CabalBounds.Args         CabalBounds.Command         CabalBounds.Execute@@ -70,36 +56,32 @@     ghc-options: -W  test-suite some-test-    build-depends:-        base >=3,-        cmdargs >=0.10.5 && <0.11,-        lens -any,-        pretty-show -any,-        strict -any,-        Cabal -any     type: exitcode-stdio-1.0     main-is: TestMain1.hs+    build-depends:+        base >=3,+        A >=0.1 && <0.2,+        B >=0.2 && <0.3,+        C >=0.1 && <0.4     hs-source-dirs: src     other-modules:-        Paths_cabal_bounds+        Paths_setup_config         CabalBounds.Args         CabalBounds.Command         CabalBounds.Execute         CabalBounds.Lenses     ghc-options: -W test-suite other-test-    build-depends:-        base >=3,-        cmdargs >=0.10.5 && <0.11,-        lens -any,-        pretty-show -any,-        strict -any,-        Cabal -any     type: exitcode-stdio-1.0     main-is: TestMain2.hs+    build-depends:+        base >=3,+        A >=0.1 && <0.2,+        B >=0.2 && <0.3,+        C >=0.1 && <0.4     hs-source-dirs: src     other-modules:-        Paths_cabal_bounds+        Paths_setup_config         CabalBounds.Args         CabalBounds.Command         CabalBounds.Execute
tests/goldenFiles/Dump.hs view
@@ -1,2 +1,4 @@-[ ("cmdargs",[0,10,5])+[ ("A",[0,1])+, ("B",[0,2])+, ("C",[0,1]) ]
+ tests/goldenFiles/UpdateBothIgnoreA.cabal view
@@ -0,0 +1,89 @@+name: setup-config+version: 0.1+cabal-version: >=1.9.2+build-type: Simple+license: UnspecifiedLicense+maintainer: daniel.trstenjak@gmail.com+author: Daniel Trstenjak++library+    exposed-modules:+        CabalBounds.Args+        CabalBounds.Command+        CabalBounds.Execute+        CabalBounds.Lenses+    build-depends:+        base >=3,+        A >=0.1 && <0.2,+        B >=0.3.0.1 && <0.4,+        C >=0.2.5 && <0.3+    hs-source-dirs: src+    other-modules:+        Paths_setup_config++executable cabal-bounds+    main-is: ExeMain1.hs+    build-depends:+        base >=3,+        A >=0.1 && <0.2,+        B >=0.3.0.1 && <0.4,+        C >=0.2.5 && <0.3+    cpp-options: -DCABAL+    hs-source-dirs: src+    other-modules:+        Paths_setup_config+        CabalBounds.Args+        CabalBounds.Command+        CabalBounds.Execute+        CabalBounds.Lenses+    ghc-options: -W++executable other-exe+    main-is: ExeMain2.hs+    build-depends:+        base >=3,+        A >=0.1 && <0.2,+        B >=0.3.0.1 && <0.4,+        C >=0.2.5 && <0.3+    cpp-options: -DCABAL+    hs-source-dirs: src+    other-modules:+        Paths_setup_config+        CabalBounds.Args+        CabalBounds.Command+        CabalBounds.Execute+        CabalBounds.Lenses+    ghc-options: -W++test-suite some-test+    type: exitcode-stdio-1.0+    main-is: TestMain1.hs+    build-depends:+        base >=3,+        A >=0.1 && <0.2,+        B >=0.3.0.1 && <0.4,+        C >=0.2.5 && <0.3+    hs-source-dirs: src+    other-modules:+        Paths_setup_config+        CabalBounds.Args+        CabalBounds.Command+        CabalBounds.Execute+        CabalBounds.Lenses+    ghc-options: -W+test-suite other-test+    type: exitcode-stdio-1.0+    main-is: TestMain2.hs+    build-depends:+        base >=3,+        A >=0.1 && <0.2,+        B >=0.3.0.1 && <0.4,+        C >=0.2.5 && <0.3+    hs-source-dirs: src+    other-modules:+        Paths_setup_config+        CabalBounds.Args+        CabalBounds.Command+        CabalBounds.Execute+        CabalBounds.Lenses+    ghc-options: -W
− tests/goldenFiles/UpdateBothIgnoreBase.cabal
@@ -1,107 +0,0 @@-name: cabal-bounds-version: 0.1-cabal-version: >=1.9.2-build-type: Simple-license: UnspecifiedLicense-maintainer: daniel.trstenjak@gmail.com-synopsis: A command line program for managing the bounds/versions of the dependencies in a cabal file.-description:-    A command line program for managing the bounds/versions of the dependencies in a cabal file.-category: Utils-author: Daniel Trstenjak--source-repository head-    type: git-    location: https://github.com/dan-t/cabal-bounds--library-    build-depends:-        base >=3 && <5,-        cmdargs >=0.10.7 && <0.11,-        lens ==4.7.*,-        pretty-show >=1.6.7 && <1.7,-        strict >=0.3.2 && <0.4,-        Cabal >=1.20.0.1 && <1.21-    exposed-modules:-        CabalBounds.Args-        CabalBounds.Command-        CabalBounds.Execute-        CabalBounds.Lenses-    hs-source-dirs: src-    other-modules:-        Paths_cabal_bounds--executable cabal-bounds-    build-depends:-        base >=3 && <5,-        cmdargs >=0.10.7 && <0.11,-        lens ==4.7.*,-        pretty-show >=1.6.7 && <1.7,-        strict >=0.3.2 && <0.4,-        Cabal >=1.20.0.1 && <1.21-    main-is: ExeMain1.hs-    cpp-options: -DCABAL-    hs-source-dirs: src-    other-modules:-        Paths_cabal_bounds-        CabalBounds.Args-        CabalBounds.Command-        CabalBounds.Execute-        CabalBounds.Lenses-    ghc-options: -W--executable other-exe-    build-depends:-        base >=3 && <5,-        cmdargs >=0.10.7 && <0.11,-        lens ==4.7.*,-        pretty-show >=1.6.7 && <1.7,-        strict >=0.3.2 && <0.4,-        Cabal >=1.20.0.1 && <1.21-    main-is: ExeMain2.hs-    cpp-options: -DCABAL-    hs-source-dirs: src-    other-modules:-        Paths_cabal_bounds-        CabalBounds.Args-        CabalBounds.Command-        CabalBounds.Execute-        CabalBounds.Lenses-    ghc-options: -W--test-suite some-test-    build-depends:-        base >=3 && <5,-        cmdargs >=0.10.7 && <0.11,-        lens ==4.7.*,-        pretty-show >=1.6.7 && <1.7,-        strict >=0.3.2 && <0.4,-        Cabal >=1.20.0.1 && <1.21-    type: exitcode-stdio-1.0-    main-is: TestMain1.hs-    hs-source-dirs: src-    other-modules:-        Paths_cabal_bounds-        CabalBounds.Args-        CabalBounds.Command-        CabalBounds.Execute-        CabalBounds.Lenses-    ghc-options: -W-test-suite other-test-    build-depends:-        base >=3 && <5,-        cmdargs >=0.10.7 && <0.11,-        lens ==4.7.*,-        pretty-show >=1.6.7 && <1.7,-        strict >=0.3.2 && <0.4,-        Cabal >=1.20.0.1 && <1.21-    type: exitcode-stdio-1.0-    main-is: TestMain2.hs-    hs-source-dirs: src-    other-modules:-        Paths_cabal_bounds-        CabalBounds.Args-        CabalBounds.Command-        CabalBounds.Execute-        CabalBounds.Lenses-    ghc-options: -W
tests/goldenFiles/UpdateBothOfAll.cabal view
@@ -1,49 +1,37 @@-name: cabal-bounds+name: setup-config version: 0.1 cabal-version: >=1.9.2 build-type: Simple license: UnspecifiedLicense maintainer: daniel.trstenjak@gmail.com-synopsis: A command line program for managing the bounds/versions of the dependencies in a cabal file.-description:-    A command line program for managing the bounds/versions of the dependencies in a cabal file.-category: Utils author: Daniel Trstenjak -source-repository head-    type: git-    location: https://github.com/dan-t/cabal-bounds- library-    build-depends:-        base >=3 && <5,-        cmdargs >=0.10.7 && <0.11,-        lens ==4.7.*,-        pretty-show >=1.6.7 && <1.7,-        strict >=0.3.2 && <0.4,-        Cabal >=1.20.0.1 && <1.21     exposed-modules:         CabalBounds.Args         CabalBounds.Command         CabalBounds.Execute         CabalBounds.Lenses+    build-depends:+        base >=3,+        A ==0.3.*,+        B >=0.3.0.1 && <0.4,+        C >=0.2.5 && <0.3     hs-source-dirs: src     other-modules:-        Paths_cabal_bounds+        Paths_setup_config  executable cabal-bounds-    build-depends:-        base >=3 && <5,-        cmdargs >=0.10.7 && <0.11,-        lens ==4.7.*,-        pretty-show >=1.6.7 && <1.7,-        strict >=0.3.2 && <0.4,-        Cabal >=1.20.0.1 && <1.21     main-is: ExeMain1.hs+    build-depends:+        base >=3,+        A ==0.3.*,+        B >=0.3.0.1 && <0.4,+        C >=0.2.5 && <0.3     cpp-options: -DCABAL     hs-source-dirs: src     other-modules:-        Paths_cabal_bounds+        Paths_setup_config         CabalBounds.Args         CabalBounds.Command         CabalBounds.Execute@@ -51,18 +39,16 @@     ghc-options: -W  executable other-exe-    build-depends:-        base >=3 && <5,-        cmdargs >=0.10.7 && <0.11,-        lens ==4.7.*,-        pretty-show >=1.6.7 && <1.7,-        strict >=0.3.2 && <0.4,-        Cabal >=1.20.0.1 && <1.21     main-is: ExeMain2.hs+    build-depends:+        base >=3,+        A ==0.3.*,+        B >=0.3.0.1 && <0.4,+        C >=0.2.5 && <0.3     cpp-options: -DCABAL     hs-source-dirs: src     other-modules:-        Paths_cabal_bounds+        Paths_setup_config         CabalBounds.Args         CabalBounds.Command         CabalBounds.Execute@@ -70,36 +56,32 @@     ghc-options: -W  test-suite some-test-    build-depends:-        base >=3 && <5,-        cmdargs >=0.10.7 && <0.11,-        lens ==4.7.*,-        pretty-show >=1.6.7 && <1.7,-        strict >=0.3.2 && <0.4,-        Cabal >=1.20.0.1 && <1.21     type: exitcode-stdio-1.0     main-is: TestMain1.hs+    build-depends:+        base >=3,+        A ==0.3.*,+        B >=0.3.0.1 && <0.4,+        C >=0.2.5 && <0.3     hs-source-dirs: src     other-modules:-        Paths_cabal_bounds+        Paths_setup_config         CabalBounds.Args         CabalBounds.Command         CabalBounds.Execute         CabalBounds.Lenses     ghc-options: -W test-suite other-test-    build-depends:-        base >=3 && <5,-        cmdargs >=0.10.7 && <0.11,-        lens ==4.7.*,-        pretty-show >=1.6.7 && <1.7,-        strict >=0.3.2 && <0.4,-        Cabal >=1.20.0.1 && <1.21     type: exitcode-stdio-1.0     main-is: TestMain2.hs+    build-depends:+        base >=3,+        A ==0.3.*,+        B >=0.3.0.1 && <0.4,+        C >=0.2.5 && <0.3     hs-source-dirs: src     other-modules:-        Paths_cabal_bounds+        Paths_setup_config         CabalBounds.Args         CabalBounds.Command         CabalBounds.Execute
tests/goldenFiles/UpdateBothOfAllExes.cabal view
@@ -1,49 +1,37 @@-name: cabal-bounds+name: setup-config version: 0.1 cabal-version: >=1.9.2 build-type: Simple license: UnspecifiedLicense maintainer: daniel.trstenjak@gmail.com-synopsis: A command line program for managing the bounds/versions of the dependencies in a cabal file.-description:-    A command line program for managing the bounds/versions of the dependencies in a cabal file.-category: Utils author: Daniel Trstenjak -source-repository head-    type: git-    location: https://github.com/dan-t/cabal-bounds- library-    build-depends:-        base >=3 && <5,-        cmdargs >=0.10.5 && <0.11,-        lens -any,-        pretty-show -any,-        strict -any,-        Cabal -any     exposed-modules:         CabalBounds.Args         CabalBounds.Command         CabalBounds.Execute         CabalBounds.Lenses+    build-depends:+        base >=3,+        A >=0.1 && <0.2,+        B >=0.2 && <0.3,+        C >=0.1 && <0.4     hs-source-dirs: src     other-modules:-        Paths_cabal_bounds+        Paths_setup_config  executable cabal-bounds-    build-depends:-        base >=3 && <5,-        cmdargs >=0.10.7 && <0.11,-        lens ==4.7.*,-        pretty-show >=1.6.7 && <1.7,-        strict >=0.3.2 && <0.4,-        Cabal >=1.20.0.1 && <1.21     main-is: ExeMain1.hs+    build-depends:+        base >=3,+        A ==0.3.*,+        B >=0.3.0.1 && <0.4,+        C >=0.2.5 && <0.3     cpp-options: -DCABAL     hs-source-dirs: src     other-modules:-        Paths_cabal_bounds+        Paths_setup_config         CabalBounds.Args         CabalBounds.Command         CabalBounds.Execute@@ -51,18 +39,16 @@     ghc-options: -W  executable other-exe-    build-depends:-        base >=3 && <5,-        cmdargs >=0.10.7 && <0.11,-        lens ==4.7.*,-        pretty-show >=1.6.7 && <1.7,-        strict >=0.3.2 && <0.4,-        Cabal >=1.20.0.1 && <1.21     main-is: ExeMain2.hs+    build-depends:+        base >=3,+        A ==0.3.*,+        B >=0.3.0.1 && <0.4,+        C >=0.2.5 && <0.3     cpp-options: -DCABAL     hs-source-dirs: src     other-modules:-        Paths_cabal_bounds+        Paths_setup_config         CabalBounds.Args         CabalBounds.Command         CabalBounds.Execute@@ -70,36 +56,32 @@     ghc-options: -W  test-suite some-test-    build-depends:-        base >=3 && <5,-        cmdargs >=0.10.5 && <0.11,-        lens -any,-        pretty-show -any,-        strict -any,-        Cabal -any     type: exitcode-stdio-1.0     main-is: TestMain1.hs+    build-depends:+        base >=3,+        A >=0.1 && <0.2,+        B >=0.2 && <0.3,+        C >=0.1 && <0.4     hs-source-dirs: src     other-modules:-        Paths_cabal_bounds+        Paths_setup_config         CabalBounds.Args         CabalBounds.Command         CabalBounds.Execute         CabalBounds.Lenses     ghc-options: -W test-suite other-test-    build-depends:-        base >=3 && <5,-        cmdargs >=0.10.5 && <0.11,-        lens -any,-        pretty-show -any,-        strict -any,-        Cabal -any     type: exitcode-stdio-1.0     main-is: TestMain2.hs+    build-depends:+        base >=3,+        A >=0.1 && <0.2,+        B >=0.2 && <0.3,+        C >=0.1 && <0.4     hs-source-dirs: src     other-modules:-        Paths_cabal_bounds+        Paths_setup_config         CabalBounds.Args         CabalBounds.Command         CabalBounds.Execute
tests/goldenFiles/UpdateBothOfExe.cabal view
@@ -1,49 +1,37 @@-name: cabal-bounds+name: setup-config version: 0.1 cabal-version: >=1.9.2 build-type: Simple license: UnspecifiedLicense maintainer: daniel.trstenjak@gmail.com-synopsis: A command line program for managing the bounds/versions of the dependencies in a cabal file.-description:-    A command line program for managing the bounds/versions of the dependencies in a cabal file.-category: Utils author: Daniel Trstenjak -source-repository head-    type: git-    location: https://github.com/dan-t/cabal-bounds- library-    build-depends:-        base >=3 && <5,-        cmdargs >=0.10.5 && <0.11,-        lens -any,-        pretty-show -any,-        strict -any,-        Cabal -any     exposed-modules:         CabalBounds.Args         CabalBounds.Command         CabalBounds.Execute         CabalBounds.Lenses+    build-depends:+        base >=3,+        A >=0.1 && <0.2,+        B >=0.2 && <0.3,+        C >=0.1 && <0.4     hs-source-dirs: src     other-modules:-        Paths_cabal_bounds+        Paths_setup_config  executable cabal-bounds-    build-depends:-        base >=3 && <5,-        cmdargs >=0.10.7 && <0.11,-        lens ==4.7.*,-        pretty-show >=1.6.7 && <1.7,-        strict >=0.3.2 && <0.4,-        Cabal >=1.20.0.1 && <1.21     main-is: ExeMain1.hs+    build-depends:+        base >=3,+        A ==0.3.*,+        B >=0.3.0.1 && <0.4,+        C >=0.2.5 && <0.3     cpp-options: -DCABAL     hs-source-dirs: src     other-modules:-        Paths_cabal_bounds+        Paths_setup_config         CabalBounds.Args         CabalBounds.Command         CabalBounds.Execute@@ -51,18 +39,16 @@     ghc-options: -W  executable other-exe-    build-depends:-        base >=3 && <5,-        cmdargs >=0.10.5 && <0.11,-        lens -any,-        pretty-show -any,-        strict -any,-        Cabal -any     main-is: ExeMain2.hs+    build-depends:+        base >=3,+        A >=0.1 && <0.2,+        B >=0.2 && <0.3,+        C >=0.1 && <0.4     cpp-options: -DCABAL     hs-source-dirs: src     other-modules:-        Paths_cabal_bounds+        Paths_setup_config         CabalBounds.Args         CabalBounds.Command         CabalBounds.Execute@@ -70,36 +56,32 @@     ghc-options: -W  test-suite some-test-    build-depends:-        base >=3 && <5,-        cmdargs >=0.10.5 && <0.11,-        lens -any,-        pretty-show -any,-        strict -any,-        Cabal -any     type: exitcode-stdio-1.0     main-is: TestMain1.hs+    build-depends:+        base >=3,+        A >=0.1 && <0.2,+        B >=0.2 && <0.3,+        C >=0.1 && <0.4     hs-source-dirs: src     other-modules:-        Paths_cabal_bounds+        Paths_setup_config         CabalBounds.Args         CabalBounds.Command         CabalBounds.Execute         CabalBounds.Lenses     ghc-options: -W test-suite other-test-    build-depends:-        base >=3 && <5,-        cmdargs >=0.10.5 && <0.11,-        lens -any,-        pretty-show -any,-        strict -any,-        Cabal -any     type: exitcode-stdio-1.0     main-is: TestMain2.hs+    build-depends:+        base >=3,+        A >=0.1 && <0.2,+        B >=0.2 && <0.3,+        C >=0.1 && <0.4     hs-source-dirs: src     other-modules:-        Paths_cabal_bounds+        Paths_setup_config         CabalBounds.Args         CabalBounds.Command         CabalBounds.Execute
tests/goldenFiles/UpdateBothOfLibrary.cabal view
@@ -1,49 +1,37 @@-name: cabal-bounds+name: setup-config version: 0.1 cabal-version: >=1.9.2 build-type: Simple license: UnspecifiedLicense maintainer: daniel.trstenjak@gmail.com-synopsis: A command line program for managing the bounds/versions of the dependencies in a cabal file.-description:-    A command line program for managing the bounds/versions of the dependencies in a cabal file.-category: Utils author: Daniel Trstenjak -source-repository head-    type: git-    location: https://github.com/dan-t/cabal-bounds- library-    build-depends:-        base >=3 && <5,-        cmdargs >=0.10.7 && <0.11,-        lens ==4.7.*,-        pretty-show >=1.6.7 && <1.7,-        strict >=0.3.2 && <0.4,-        Cabal >=1.20.0.1 && <1.21     exposed-modules:         CabalBounds.Args         CabalBounds.Command         CabalBounds.Execute         CabalBounds.Lenses+    build-depends:+        base >=3,+        A ==0.3.*,+        B >=0.3.0.1 && <0.4,+        C >=0.2.5 && <0.3     hs-source-dirs: src     other-modules:-        Paths_cabal_bounds+        Paths_setup_config  executable cabal-bounds-    build-depends:-        base >=3 && <5,-        cmdargs >=0.10.5 && <0.11,-        lens -any,-        pretty-show -any,-        strict -any,-        Cabal -any     main-is: ExeMain1.hs+    build-depends:+        base >=3,+        A >=0.1 && <0.2,+        B >=0.2 && <0.3,+        C >=0.1 && <0.4     cpp-options: -DCABAL     hs-source-dirs: src     other-modules:-        Paths_cabal_bounds+        Paths_setup_config         CabalBounds.Args         CabalBounds.Command         CabalBounds.Execute@@ -51,18 +39,16 @@     ghc-options: -W  executable other-exe-    build-depends:-        base >=3 && <5,-        cmdargs >=0.10.5 && <0.11,-        lens -any,-        pretty-show -any,-        strict -any,-        Cabal -any     main-is: ExeMain2.hs+    build-depends:+        base >=3,+        A >=0.1 && <0.2,+        B >=0.2 && <0.3,+        C >=0.1 && <0.4     cpp-options: -DCABAL     hs-source-dirs: src     other-modules:-        Paths_cabal_bounds+        Paths_setup_config         CabalBounds.Args         CabalBounds.Command         CabalBounds.Execute@@ -70,36 +56,32 @@     ghc-options: -W  test-suite some-test-    build-depends:-        base >=3 && <5,-        cmdargs >=0.10.5 && <0.11,-        lens -any,-        pretty-show -any,-        strict -any,-        Cabal -any     type: exitcode-stdio-1.0     main-is: TestMain1.hs+    build-depends:+        base >=3,+        A >=0.1 && <0.2,+        B >=0.2 && <0.3,+        C >=0.1 && <0.4     hs-source-dirs: src     other-modules:-        Paths_cabal_bounds+        Paths_setup_config         CabalBounds.Args         CabalBounds.Command         CabalBounds.Execute         CabalBounds.Lenses     ghc-options: -W test-suite other-test-    build-depends:-        base >=3 && <5,-        cmdargs >=0.10.5 && <0.11,-        lens -any,-        pretty-show -any,-        strict -any,-        Cabal -any     type: exitcode-stdio-1.0     main-is: TestMain2.hs+    build-depends:+        base >=3,+        A >=0.1 && <0.2,+        B >=0.2 && <0.3,+        C >=0.1 && <0.4     hs-source-dirs: src     other-modules:-        Paths_cabal_bounds+        Paths_setup_config         CabalBounds.Args         CabalBounds.Command         CabalBounds.Execute
tests/goldenFiles/UpdateBothOfOtherExe.cabal view
@@ -1,49 +1,37 @@-name: cabal-bounds+name: setup-config version: 0.1 cabal-version: >=1.9.2 build-type: Simple license: UnspecifiedLicense maintainer: daniel.trstenjak@gmail.com-synopsis: A command line program for managing the bounds/versions of the dependencies in a cabal file.-description:-    A command line program for managing the bounds/versions of the dependencies in a cabal file.-category: Utils author: Daniel Trstenjak -source-repository head-    type: git-    location: https://github.com/dan-t/cabal-bounds- library-    build-depends:-        base >=3 && <5,-        cmdargs >=0.10.5 && <0.11,-        lens -any,-        pretty-show -any,-        strict -any,-        Cabal -any     exposed-modules:         CabalBounds.Args         CabalBounds.Command         CabalBounds.Execute         CabalBounds.Lenses+    build-depends:+        base >=3,+        A >=0.1 && <0.2,+        B >=0.2 && <0.3,+        C >=0.1 && <0.4     hs-source-dirs: src     other-modules:-        Paths_cabal_bounds+        Paths_setup_config  executable cabal-bounds-    build-depends:-        base >=3 && <5,-        cmdargs >=0.10.5 && <0.11,-        lens -any,-        pretty-show -any,-        strict -any,-        Cabal -any     main-is: ExeMain1.hs+    build-depends:+        base >=3,+        A >=0.1 && <0.2,+        B >=0.2 && <0.3,+        C >=0.1 && <0.4     cpp-options: -DCABAL     hs-source-dirs: src     other-modules:-        Paths_cabal_bounds+        Paths_setup_config         CabalBounds.Args         CabalBounds.Command         CabalBounds.Execute@@ -51,18 +39,16 @@     ghc-options: -W  executable other-exe-    build-depends:-        base >=3 && <5,-        cmdargs >=0.10.7 && <0.11,-        lens ==4.7.*,-        pretty-show >=1.6.7 && <1.7,-        strict >=0.3.2 && <0.4,-        Cabal >=1.20.0.1 && <1.21     main-is: ExeMain2.hs+    build-depends:+        base >=3,+        A ==0.3.*,+        B >=0.3.0.1 && <0.4,+        C >=0.2.5 && <0.3     cpp-options: -DCABAL     hs-source-dirs: src     other-modules:-        Paths_cabal_bounds+        Paths_setup_config         CabalBounds.Args         CabalBounds.Command         CabalBounds.Execute@@ -70,36 +56,32 @@     ghc-options: -W  test-suite some-test-    build-depends:-        base >=3 && <5,-        cmdargs >=0.10.5 && <0.11,-        lens -any,-        pretty-show -any,-        strict -any,-        Cabal -any     type: exitcode-stdio-1.0     main-is: TestMain1.hs+    build-depends:+        base >=3,+        A >=0.1 && <0.2,+        B >=0.2 && <0.3,+        C >=0.1 && <0.4     hs-source-dirs: src     other-modules:-        Paths_cabal_bounds+        Paths_setup_config         CabalBounds.Args         CabalBounds.Command         CabalBounds.Execute         CabalBounds.Lenses     ghc-options: -W test-suite other-test-    build-depends:-        base >=3 && <5,-        cmdargs >=0.10.5 && <0.11,-        lens -any,-        pretty-show -any,-        strict -any,-        Cabal -any     type: exitcode-stdio-1.0     main-is: TestMain2.hs+    build-depends:+        base >=3,+        A >=0.1 && <0.2,+        B >=0.2 && <0.3,+        C >=0.1 && <0.4     hs-source-dirs: src     other-modules:-        Paths_cabal_bounds+        Paths_setup_config         CabalBounds.Args         CabalBounds.Command         CabalBounds.Execute
tests/goldenFiles/UpdateBothOfTest.cabal view
@@ -1,49 +1,37 @@-name: cabal-bounds+name: setup-config version: 0.1 cabal-version: >=1.9.2 build-type: Simple license: UnspecifiedLicense maintainer: daniel.trstenjak@gmail.com-synopsis: A command line program for managing the bounds/versions of the dependencies in a cabal file.-description:-    A command line program for managing the bounds/versions of the dependencies in a cabal file.-category: Utils author: Daniel Trstenjak -source-repository head-    type: git-    location: https://github.com/dan-t/cabal-bounds- library-    build-depends:-        base >=3 && <5,-        cmdargs >=0.10.5 && <0.11,-        lens -any,-        pretty-show -any,-        strict -any,-        Cabal -any     exposed-modules:         CabalBounds.Args         CabalBounds.Command         CabalBounds.Execute         CabalBounds.Lenses+    build-depends:+        base >=3,+        A >=0.1 && <0.2,+        B >=0.2 && <0.3,+        C >=0.1 && <0.4     hs-source-dirs: src     other-modules:-        Paths_cabal_bounds+        Paths_setup_config  executable cabal-bounds-    build-depends:-        base >=3 && <5,-        cmdargs >=0.10.5 && <0.11,-        lens -any,-        pretty-show -any,-        strict -any,-        Cabal -any     main-is: ExeMain1.hs+    build-depends:+        base >=3,+        A >=0.1 && <0.2,+        B >=0.2 && <0.3,+        C >=0.1 && <0.4     cpp-options: -DCABAL     hs-source-dirs: src     other-modules:-        Paths_cabal_bounds+        Paths_setup_config         CabalBounds.Args         CabalBounds.Command         CabalBounds.Execute@@ -51,18 +39,16 @@     ghc-options: -W  executable other-exe-    build-depends:-        base >=3 && <5,-        cmdargs >=0.10.5 && <0.11,-        lens -any,-        pretty-show -any,-        strict -any,-        Cabal -any     main-is: ExeMain2.hs+    build-depends:+        base >=3,+        A >=0.1 && <0.2,+        B >=0.2 && <0.3,+        C >=0.1 && <0.4     cpp-options: -DCABAL     hs-source-dirs: src     other-modules:-        Paths_cabal_bounds+        Paths_setup_config         CabalBounds.Args         CabalBounds.Command         CabalBounds.Execute@@ -70,36 +56,32 @@     ghc-options: -W  test-suite some-test-    build-depends:-        base >=3 && <5,-        cmdargs >=0.10.7 && <0.11,-        lens ==4.7.*,-        pretty-show >=1.6.7 && <1.7,-        strict >=0.3.2 && <0.4,-        Cabal >=1.20.0.1 && <1.21     type: exitcode-stdio-1.0     main-is: TestMain1.hs+    build-depends:+        base >=3,+        A ==0.3.*,+        B >=0.3.0.1 && <0.4,+        C >=0.2.5 && <0.3     hs-source-dirs: src     other-modules:-        Paths_cabal_bounds+        Paths_setup_config         CabalBounds.Args         CabalBounds.Command         CabalBounds.Execute         CabalBounds.Lenses     ghc-options: -W test-suite other-test-    build-depends:-        base >=3 && <5,-        cmdargs >=0.10.5 && <0.11,-        lens -any,-        pretty-show -any,-        strict -any,-        Cabal -any     type: exitcode-stdio-1.0     main-is: TestMain2.hs+    build-depends:+        base >=3,+        A >=0.1 && <0.2,+        B >=0.2 && <0.3,+        C >=0.1 && <0.4     hs-source-dirs: src     other-modules:-        Paths_cabal_bounds+        Paths_setup_config         CabalBounds.Args         CabalBounds.Command         CabalBounds.Execute
− tests/goldenFiles/UpdateBothOnlyBase.cabal
@@ -1,107 +0,0 @@-name: cabal-bounds-version: 0.1-cabal-version: >=1.9.2-build-type: Simple-license: UnspecifiedLicense-maintainer: daniel.trstenjak@gmail.com-synopsis: A command line program for managing the bounds/versions of the dependencies in a cabal file.-description:-    A command line program for managing the bounds/versions of the dependencies in a cabal file.-category: Utils-author: Daniel Trstenjak--source-repository head-    type: git-    location: https://github.com/dan-t/cabal-bounds--library-    build-depends:-        base >=4.7.0.1 && <4.8,-        cmdargs >=0.10.5 && <0.11,-        lens -any,-        pretty-show -any,-        strict -any,-        Cabal -any-    exposed-modules:-        CabalBounds.Args-        CabalBounds.Command-        CabalBounds.Execute-        CabalBounds.Lenses-    hs-source-dirs: src-    other-modules:-        Paths_cabal_bounds--executable cabal-bounds-    build-depends:-        base >=4.7.0.1 && <4.8,-        cmdargs >=0.10.5 && <0.11,-        lens -any,-        pretty-show -any,-        strict -any,-        Cabal -any-    main-is: ExeMain1.hs-    cpp-options: -DCABAL-    hs-source-dirs: src-    other-modules:-        Paths_cabal_bounds-        CabalBounds.Args-        CabalBounds.Command-        CabalBounds.Execute-        CabalBounds.Lenses-    ghc-options: -W--executable other-exe-    build-depends:-        base >=4.7.0.1 && <4.8,-        cmdargs >=0.10.5 && <0.11,-        lens -any,-        pretty-show -any,-        strict -any,-        Cabal -any-    main-is: ExeMain2.hs-    cpp-options: -DCABAL-    hs-source-dirs: src-    other-modules:-        Paths_cabal_bounds-        CabalBounds.Args-        CabalBounds.Command-        CabalBounds.Execute-        CabalBounds.Lenses-    ghc-options: -W--test-suite some-test-    build-depends:-        base >=4.7.0.1 && <4.8,-        cmdargs >=0.10.5 && <0.11,-        lens -any,-        pretty-show -any,-        strict -any,-        Cabal -any-    type: exitcode-stdio-1.0-    main-is: TestMain1.hs-    hs-source-dirs: src-    other-modules:-        Paths_cabal_bounds-        CabalBounds.Args-        CabalBounds.Command-        CabalBounds.Execute-        CabalBounds.Lenses-    ghc-options: -W-test-suite other-test-    build-depends:-        base >=4.7.0.1 && <4.8,-        cmdargs >=0.10.5 && <0.11,-        lens -any,-        pretty-show -any,-        strict -any,-        Cabal -any-    type: exitcode-stdio-1.0-    main-is: TestMain2.hs-    hs-source-dirs: src-    other-modules:-        Paths_cabal_bounds-        CabalBounds.Args-        CabalBounds.Command-        CabalBounds.Execute-        CabalBounds.Lenses-    ghc-options: -W
tests/goldenFiles/UpdateByHaskellPlatform.cabal view
@@ -1,49 +1,38 @@-name: cabal-bounds+name: setup-config version: 0.1 cabal-version: >=1.9.2 build-type: Simple license: UnspecifiedLicense maintainer: daniel.trstenjak@gmail.com-synopsis: A command line program for managing the bounds/versions of the dependencies in a cabal file.-description:-    A command line program for managing the bounds/versions of the dependencies in a cabal file.-category: Utils author: Daniel Trstenjak -source-repository head-    type: git-    location: https://github.com/dan-t/cabal-bounds- library-    build-depends:-        base >=3 && <5,-        cmdargs >=0.10.5 && <0.11,-        lens -any,-        pretty-show -any,-        strict -any,-        Cabal >=1.16.0 && <1.17     exposed-modules:         CabalBounds.Args         CabalBounds.Command         CabalBounds.Execute         CabalBounds.Lenses+    build-depends:+        base >=3,+        A >=0.1 && <0.2,+        B >=0.2 && <0.3,+        C >=0.1 && <0.4,+        directory >=1.2.0.1 && <1.3     hs-source-dirs: src     other-modules:-        Paths_cabal_bounds+        Paths_setup_config  executable cabal-bounds-    build-depends:-        base >=3 && <5,-        cmdargs >=0.10.5 && <0.11,-        lens -any,-        pretty-show -any,-        strict -any,-        Cabal >=1.16.0 && <1.17     main-is: ExeMain1.hs+    build-depends:+        base >=3,+        A >=0.1 && <0.2,+        B >=0.2 && <0.3,+        C >=0.1 && <0.4     cpp-options: -DCABAL     hs-source-dirs: src     other-modules:-        Paths_cabal_bounds+        Paths_setup_config         CabalBounds.Args         CabalBounds.Command         CabalBounds.Execute@@ -51,18 +40,16 @@     ghc-options: -W  executable other-exe-    build-depends:-        base >=3 && <5,-        cmdargs >=0.10.5 && <0.11,-        lens -any,-        pretty-show -any,-        strict -any,-        Cabal >=1.16.0 && <1.17     main-is: ExeMain2.hs+    build-depends:+        base >=3,+        A >=0.1 && <0.2,+        B >=0.2 && <0.3,+        C >=0.1 && <0.4     cpp-options: -DCABAL     hs-source-dirs: src     other-modules:-        Paths_cabal_bounds+        Paths_setup_config         CabalBounds.Args         CabalBounds.Command         CabalBounds.Execute@@ -70,36 +57,32 @@     ghc-options: -W  test-suite some-test-    build-depends:-        base >=3 && <5,-        cmdargs >=0.10.5 && <0.11,-        lens -any,-        pretty-show -any,-        strict -any,-        Cabal >=1.16.0 && <1.17     type: exitcode-stdio-1.0     main-is: TestMain1.hs+    build-depends:+        base >=3,+        A >=0.1 && <0.2,+        B >=0.2 && <0.3,+        C >=0.1 && <0.4     hs-source-dirs: src     other-modules:-        Paths_cabal_bounds+        Paths_setup_config         CabalBounds.Args         CabalBounds.Command         CabalBounds.Execute         CabalBounds.Lenses     ghc-options: -W test-suite other-test-    build-depends:-        base >=3 && <5,-        cmdargs >=0.10.5 && <0.11,-        lens -any,-        pretty-show -any,-        strict -any,-        Cabal >=1.16.0 && <1.17     type: exitcode-stdio-1.0     main-is: TestMain2.hs+    build-depends:+        base >=3,+        A >=0.1 && <0.2,+        B >=0.2 && <0.3,+        C >=0.1 && <0.4     hs-source-dirs: src     other-modules:-        Paths_cabal_bounds+        Paths_setup_config         CabalBounds.Args         CabalBounds.Command         CabalBounds.Execute
− tests/goldenFiles/UpdateLowerIgnoreBase.cabal
@@ -1,107 +0,0 @@-name: cabal-bounds-version: 0.1-cabal-version: >=1.9.2-build-type: Simple-license: UnspecifiedLicense-maintainer: daniel.trstenjak@gmail.com-synopsis: A command line program for managing the bounds/versions of the dependencies in a cabal file.-description:-    A command line program for managing the bounds/versions of the dependencies in a cabal file.-category: Utils-author: Daniel Trstenjak--source-repository head-    type: git-    location: https://github.com/dan-t/cabal-bounds--library-    build-depends:-        base >=3 && <5,-        cmdargs >=0.10.7 && <0.11,-        lens >=4.7,-        pretty-show >=1.6.7,-        strict >=0.3.2,-        Cabal >=1.20.0.1-    exposed-modules:-        CabalBounds.Args-        CabalBounds.Command-        CabalBounds.Execute-        CabalBounds.Lenses-    hs-source-dirs: src-    other-modules:-        Paths_cabal_bounds--executable cabal-bounds-    build-depends:-        base >=3 && <5,-        cmdargs >=0.10.7 && <0.11,-        lens >=4.7,-        pretty-show >=1.6.7,-        strict >=0.3.2,-        Cabal >=1.20.0.1-    main-is: ExeMain1.hs-    cpp-options: -DCABAL-    hs-source-dirs: src-    other-modules:-        Paths_cabal_bounds-        CabalBounds.Args-        CabalBounds.Command-        CabalBounds.Execute-        CabalBounds.Lenses-    ghc-options: -W--executable other-exe-    build-depends:-        base >=3 && <5,-        cmdargs >=0.10.7 && <0.11,-        lens >=4.7,-        pretty-show >=1.6.7,-        strict >=0.3.2,-        Cabal >=1.20.0.1-    main-is: ExeMain2.hs-    cpp-options: -DCABAL-    hs-source-dirs: src-    other-modules:-        Paths_cabal_bounds-        CabalBounds.Args-        CabalBounds.Command-        CabalBounds.Execute-        CabalBounds.Lenses-    ghc-options: -W--test-suite some-test-    build-depends:-        base >=3 && <5,-        cmdargs >=0.10.7 && <0.11,-        lens >=4.7,-        pretty-show >=1.6.7,-        strict >=0.3.2,-        Cabal >=1.20.0.1-    type: exitcode-stdio-1.0-    main-is: TestMain1.hs-    hs-source-dirs: src-    other-modules:-        Paths_cabal_bounds-        CabalBounds.Args-        CabalBounds.Command-        CabalBounds.Execute-        CabalBounds.Lenses-    ghc-options: -W-test-suite other-test-    build-depends:-        base >=3 && <5,-        cmdargs >=0.10.7 && <0.11,-        lens >=4.7,-        pretty-show >=1.6.7,-        strict >=0.3.2,-        Cabal >=1.20.0.1-    type: exitcode-stdio-1.0-    main-is: TestMain2.hs-    hs-source-dirs: src-    other-modules:-        Paths_cabal_bounds-        CabalBounds.Args-        CabalBounds.Command-        CabalBounds.Execute-        CabalBounds.Lenses-    ghc-options: -W
tests/goldenFiles/UpdateLowerOfAll.cabal view
@@ -1,49 +1,37 @@-name: cabal-bounds+name: setup-config version: 0.1 cabal-version: >=1.9.2 build-type: Simple license: UnspecifiedLicense maintainer: daniel.trstenjak@gmail.com-synopsis: A command line program for managing the bounds/versions of the dependencies in a cabal file.-description:-    A command line program for managing the bounds/versions of the dependencies in a cabal file.-category: Utils author: Daniel Trstenjak -source-repository head-    type: git-    location: https://github.com/dan-t/cabal-bounds- library-    build-depends:-        base >=3 && <5,-        cmdargs >=0.10.7 && <0.11,-        lens >=4.7,-        pretty-show >=1.6.7,-        strict >=0.3.2,-        Cabal >=1.20.0.1     exposed-modules:         CabalBounds.Args         CabalBounds.Command         CabalBounds.Execute         CabalBounds.Lenses+    build-depends:+        base >=3,+        A >=0.3,+        B >=0.3.0.1,+        C >=0.2.5 && <0.4     hs-source-dirs: src     other-modules:-        Paths_cabal_bounds+        Paths_setup_config  executable cabal-bounds-    build-depends:-        base >=3 && <5,-        cmdargs >=0.10.7 && <0.11,-        lens >=4.7,-        pretty-show >=1.6.7,-        strict >=0.3.2,-        Cabal >=1.20.0.1     main-is: ExeMain1.hs+    build-depends:+        base >=3,+        A >=0.3,+        B >=0.3.0.1,+        C >=0.2.5 && <0.4     cpp-options: -DCABAL     hs-source-dirs: src     other-modules:-        Paths_cabal_bounds+        Paths_setup_config         CabalBounds.Args         CabalBounds.Command         CabalBounds.Execute@@ -51,18 +39,16 @@     ghc-options: -W  executable other-exe-    build-depends:-        base >=3 && <5,-        cmdargs >=0.10.7 && <0.11,-        lens >=4.7,-        pretty-show >=1.6.7,-        strict >=0.3.2,-        Cabal >=1.20.0.1     main-is: ExeMain2.hs+    build-depends:+        base >=3,+        A >=0.3,+        B >=0.3.0.1,+        C >=0.2.5 && <0.4     cpp-options: -DCABAL     hs-source-dirs: src     other-modules:-        Paths_cabal_bounds+        Paths_setup_config         CabalBounds.Args         CabalBounds.Command         CabalBounds.Execute@@ -70,36 +56,32 @@     ghc-options: -W  test-suite some-test-    build-depends:-        base >=3 && <5,-        cmdargs >=0.10.7 && <0.11,-        lens >=4.7,-        pretty-show >=1.6.7,-        strict >=0.3.2,-        Cabal >=1.20.0.1     type: exitcode-stdio-1.0     main-is: TestMain1.hs+    build-depends:+        base >=3,+        A >=0.3,+        B >=0.3.0.1,+        C >=0.2.5 && <0.4     hs-source-dirs: src     other-modules:-        Paths_cabal_bounds+        Paths_setup_config         CabalBounds.Args         CabalBounds.Command         CabalBounds.Execute         CabalBounds.Lenses     ghc-options: -W test-suite other-test-    build-depends:-        base >=3 && <5,-        cmdargs >=0.10.7 && <0.11,-        lens >=4.7,-        pretty-show >=1.6.7,-        strict >=0.3.2,-        Cabal >=1.20.0.1     type: exitcode-stdio-1.0     main-is: TestMain2.hs+    build-depends:+        base >=3,+        A >=0.3,+        B >=0.3.0.1,+        C >=0.2.5 && <0.4     hs-source-dirs: src     other-modules:-        Paths_cabal_bounds+        Paths_setup_config         CabalBounds.Args         CabalBounds.Command         CabalBounds.Execute
tests/goldenFiles/UpdateLowerOfAllExes.cabal view
@@ -1,49 +1,37 @@-name: cabal-bounds+name: setup-config version: 0.1 cabal-version: >=1.9.2 build-type: Simple license: UnspecifiedLicense maintainer: daniel.trstenjak@gmail.com-synopsis: A command line program for managing the bounds/versions of the dependencies in a cabal file.-description:-    A command line program for managing the bounds/versions of the dependencies in a cabal file.-category: Utils author: Daniel Trstenjak -source-repository head-    type: git-    location: https://github.com/dan-t/cabal-bounds- library-    build-depends:-        base >=3 && <5,-        cmdargs >=0.10.5 && <0.11,-        lens -any,-        pretty-show -any,-        strict -any,-        Cabal -any     exposed-modules:         CabalBounds.Args         CabalBounds.Command         CabalBounds.Execute         CabalBounds.Lenses+    build-depends:+        base >=3,+        A >=0.1 && <0.2,+        B >=0.2 && <0.3,+        C >=0.1 && <0.4     hs-source-dirs: src     other-modules:-        Paths_cabal_bounds+        Paths_setup_config  executable cabal-bounds-    build-depends:-        base >=3 && <5,-        cmdargs >=0.10.7 && <0.11,-        lens >=4.7,-        pretty-show >=1.6.7,-        strict >=0.3.2,-        Cabal >=1.20.0.1     main-is: ExeMain1.hs+    build-depends:+        base >=3,+        A >=0.3,+        B >=0.3.0.1,+        C >=0.2.5 && <0.4     cpp-options: -DCABAL     hs-source-dirs: src     other-modules:-        Paths_cabal_bounds+        Paths_setup_config         CabalBounds.Args         CabalBounds.Command         CabalBounds.Execute@@ -51,18 +39,16 @@     ghc-options: -W  executable other-exe-    build-depends:-        base >=3 && <5,-        cmdargs >=0.10.7 && <0.11,-        lens >=4.7,-        pretty-show >=1.6.7,-        strict >=0.3.2,-        Cabal >=1.20.0.1     main-is: ExeMain2.hs+    build-depends:+        base >=3,+        A >=0.3,+        B >=0.3.0.1,+        C >=0.2.5 && <0.4     cpp-options: -DCABAL     hs-source-dirs: src     other-modules:-        Paths_cabal_bounds+        Paths_setup_config         CabalBounds.Args         CabalBounds.Command         CabalBounds.Execute@@ -70,36 +56,32 @@     ghc-options: -W  test-suite some-test-    build-depends:-        base >=3 && <5,-        cmdargs >=0.10.5 && <0.11,-        lens -any,-        pretty-show -any,-        strict -any,-        Cabal -any     type: exitcode-stdio-1.0     main-is: TestMain1.hs+    build-depends:+        base >=3,+        A >=0.1 && <0.2,+        B >=0.2 && <0.3,+        C >=0.1 && <0.4     hs-source-dirs: src     other-modules:-        Paths_cabal_bounds+        Paths_setup_config         CabalBounds.Args         CabalBounds.Command         CabalBounds.Execute         CabalBounds.Lenses     ghc-options: -W test-suite other-test-    build-depends:-        base >=3 && <5,-        cmdargs >=0.10.5 && <0.11,-        lens -any,-        pretty-show -any,-        strict -any,-        Cabal -any     type: exitcode-stdio-1.0     main-is: TestMain2.hs+    build-depends:+        base >=3,+        A >=0.1 && <0.2,+        B >=0.2 && <0.3,+        C >=0.1 && <0.4     hs-source-dirs: src     other-modules:-        Paths_cabal_bounds+        Paths_setup_config         CabalBounds.Args         CabalBounds.Command         CabalBounds.Execute
tests/goldenFiles/UpdateLowerOfExe.cabal view
@@ -1,49 +1,37 @@-name: cabal-bounds+name: setup-config version: 0.1 cabal-version: >=1.9.2 build-type: Simple license: UnspecifiedLicense maintainer: daniel.trstenjak@gmail.com-synopsis: A command line program for managing the bounds/versions of the dependencies in a cabal file.-description:-    A command line program for managing the bounds/versions of the dependencies in a cabal file.-category: Utils author: Daniel Trstenjak -source-repository head-    type: git-    location: https://github.com/dan-t/cabal-bounds- library-    build-depends:-        base >=3 && <5,-        cmdargs >=0.10.5 && <0.11,-        lens -any,-        pretty-show -any,-        strict -any,-        Cabal -any     exposed-modules:         CabalBounds.Args         CabalBounds.Command         CabalBounds.Execute         CabalBounds.Lenses+    build-depends:+        base >=3,+        A >=0.1 && <0.2,+        B >=0.2 && <0.3,+        C >=0.1 && <0.4     hs-source-dirs: src     other-modules:-        Paths_cabal_bounds+        Paths_setup_config  executable cabal-bounds-    build-depends:-        base >=3 && <5,-        cmdargs >=0.10.7 && <0.11,-        lens >=4.7,-        pretty-show >=1.6.7,-        strict >=0.3.2,-        Cabal >=1.20.0.1     main-is: ExeMain1.hs+    build-depends:+        base >=3,+        A >=0.3,+        B >=0.3.0.1,+        C >=0.2.5 && <0.4     cpp-options: -DCABAL     hs-source-dirs: src     other-modules:-        Paths_cabal_bounds+        Paths_setup_config         CabalBounds.Args         CabalBounds.Command         CabalBounds.Execute@@ -51,18 +39,16 @@     ghc-options: -W  executable other-exe-    build-depends:-        base >=3 && <5,-        cmdargs >=0.10.5 && <0.11,-        lens -any,-        pretty-show -any,-        strict -any,-        Cabal -any     main-is: ExeMain2.hs+    build-depends:+        base >=3,+        A >=0.1 && <0.2,+        B >=0.2 && <0.3,+        C >=0.1 && <0.4     cpp-options: -DCABAL     hs-source-dirs: src     other-modules:-        Paths_cabal_bounds+        Paths_setup_config         CabalBounds.Args         CabalBounds.Command         CabalBounds.Execute@@ -70,36 +56,32 @@     ghc-options: -W  test-suite some-test-    build-depends:-        base >=3 && <5,-        cmdargs >=0.10.5 && <0.11,-        lens -any,-        pretty-show -any,-        strict -any,-        Cabal -any     type: exitcode-stdio-1.0     main-is: TestMain1.hs+    build-depends:+        base >=3,+        A >=0.1 && <0.2,+        B >=0.2 && <0.3,+        C >=0.1 && <0.4     hs-source-dirs: src     other-modules:-        Paths_cabal_bounds+        Paths_setup_config         CabalBounds.Args         CabalBounds.Command         CabalBounds.Execute         CabalBounds.Lenses     ghc-options: -W test-suite other-test-    build-depends:-        base >=3 && <5,-        cmdargs >=0.10.5 && <0.11,-        lens -any,-        pretty-show -any,-        strict -any,-        Cabal -any     type: exitcode-stdio-1.0     main-is: TestMain2.hs+    build-depends:+        base >=3,+        A >=0.1 && <0.2,+        B >=0.2 && <0.3,+        C >=0.1 && <0.4     hs-source-dirs: src     other-modules:-        Paths_cabal_bounds+        Paths_setup_config         CabalBounds.Args         CabalBounds.Command         CabalBounds.Execute
tests/goldenFiles/UpdateLowerOfLibrary.cabal view
@@ -1,49 +1,37 @@-name: cabal-bounds+name: setup-config version: 0.1 cabal-version: >=1.9.2 build-type: Simple license: UnspecifiedLicense maintainer: daniel.trstenjak@gmail.com-synopsis: A command line program for managing the bounds/versions of the dependencies in a cabal file.-description:-    A command line program for managing the bounds/versions of the dependencies in a cabal file.-category: Utils author: Daniel Trstenjak -source-repository head-    type: git-    location: https://github.com/dan-t/cabal-bounds- library-    build-depends:-        base >=3 && <5,-        cmdargs >=0.10.7 && <0.11,-        lens >=4.7,-        pretty-show >=1.6.7,-        strict >=0.3.2,-        Cabal >=1.20.0.1     exposed-modules:         CabalBounds.Args         CabalBounds.Command         CabalBounds.Execute         CabalBounds.Lenses+    build-depends:+        base >=3,+        A >=0.3,+        B >=0.3.0.1,+        C >=0.2.5 && <0.4     hs-source-dirs: src     other-modules:-        Paths_cabal_bounds+        Paths_setup_config  executable cabal-bounds-    build-depends:-        base >=3 && <5,-        cmdargs >=0.10.5 && <0.11,-        lens -any,-        pretty-show -any,-        strict -any,-        Cabal -any     main-is: ExeMain1.hs+    build-depends:+        base >=3,+        A >=0.1 && <0.2,+        B >=0.2 && <0.3,+        C >=0.1 && <0.4     cpp-options: -DCABAL     hs-source-dirs: src     other-modules:-        Paths_cabal_bounds+        Paths_setup_config         CabalBounds.Args         CabalBounds.Command         CabalBounds.Execute@@ -51,18 +39,16 @@     ghc-options: -W  executable other-exe-    build-depends:-        base >=3 && <5,-        cmdargs >=0.10.5 && <0.11,-        lens -any,-        pretty-show -any,-        strict -any,-        Cabal -any     main-is: ExeMain2.hs+    build-depends:+        base >=3,+        A >=0.1 && <0.2,+        B >=0.2 && <0.3,+        C >=0.1 && <0.4     cpp-options: -DCABAL     hs-source-dirs: src     other-modules:-        Paths_cabal_bounds+        Paths_setup_config         CabalBounds.Args         CabalBounds.Command         CabalBounds.Execute@@ -70,36 +56,32 @@     ghc-options: -W  test-suite some-test-    build-depends:-        base >=3 && <5,-        cmdargs >=0.10.5 && <0.11,-        lens -any,-        pretty-show -any,-        strict -any,-        Cabal -any     type: exitcode-stdio-1.0     main-is: TestMain1.hs+    build-depends:+        base >=3,+        A >=0.1 && <0.2,+        B >=0.2 && <0.3,+        C >=0.1 && <0.4     hs-source-dirs: src     other-modules:-        Paths_cabal_bounds+        Paths_setup_config         CabalBounds.Args         CabalBounds.Command         CabalBounds.Execute         CabalBounds.Lenses     ghc-options: -W test-suite other-test-    build-depends:-        base >=3 && <5,-        cmdargs >=0.10.5 && <0.11,-        lens -any,-        pretty-show -any,-        strict -any,-        Cabal -any     type: exitcode-stdio-1.0     main-is: TestMain2.hs+    build-depends:+        base >=3,+        A >=0.1 && <0.2,+        B >=0.2 && <0.3,+        C >=0.1 && <0.4     hs-source-dirs: src     other-modules:-        Paths_cabal_bounds+        Paths_setup_config         CabalBounds.Args         CabalBounds.Command         CabalBounds.Execute
tests/goldenFiles/UpdateLowerOfOtherExe.cabal view
@@ -1,49 +1,37 @@-name: cabal-bounds+name: setup-config version: 0.1 cabal-version: >=1.9.2 build-type: Simple license: UnspecifiedLicense maintainer: daniel.trstenjak@gmail.com-synopsis: A command line program for managing the bounds/versions of the dependencies in a cabal file.-description:-    A command line program for managing the bounds/versions of the dependencies in a cabal file.-category: Utils author: Daniel Trstenjak -source-repository head-    type: git-    location: https://github.com/dan-t/cabal-bounds- library-    build-depends:-        base >=3 && <5,-        cmdargs >=0.10.5 && <0.11,-        lens -any,-        pretty-show -any,-        strict -any,-        Cabal -any     exposed-modules:         CabalBounds.Args         CabalBounds.Command         CabalBounds.Execute         CabalBounds.Lenses+    build-depends:+        base >=3,+        A >=0.1 && <0.2,+        B >=0.2 && <0.3,+        C >=0.1 && <0.4     hs-source-dirs: src     other-modules:-        Paths_cabal_bounds+        Paths_setup_config  executable cabal-bounds-    build-depends:-        base >=3 && <5,-        cmdargs >=0.10.5 && <0.11,-        lens -any,-        pretty-show -any,-        strict -any,-        Cabal -any     main-is: ExeMain1.hs+    build-depends:+        base >=3,+        A >=0.1 && <0.2,+        B >=0.2 && <0.3,+        C >=0.1 && <0.4     cpp-options: -DCABAL     hs-source-dirs: src     other-modules:-        Paths_cabal_bounds+        Paths_setup_config         CabalBounds.Args         CabalBounds.Command         CabalBounds.Execute@@ -51,18 +39,16 @@     ghc-options: -W  executable other-exe-    build-depends:-        base >=3 && <5,-        cmdargs >=0.10.7 && <0.11,-        lens >=4.7,-        pretty-show >=1.6.7,-        strict >=0.3.2,-        Cabal >=1.20.0.1     main-is: ExeMain2.hs+    build-depends:+        base >=3,+        A >=0.3,+        B >=0.3.0.1,+        C >=0.2.5 && <0.4     cpp-options: -DCABAL     hs-source-dirs: src     other-modules:-        Paths_cabal_bounds+        Paths_setup_config         CabalBounds.Args         CabalBounds.Command         CabalBounds.Execute@@ -70,36 +56,32 @@     ghc-options: -W  test-suite some-test-    build-depends:-        base >=3 && <5,-        cmdargs >=0.10.5 && <0.11,-        lens -any,-        pretty-show -any,-        strict -any,-        Cabal -any     type: exitcode-stdio-1.0     main-is: TestMain1.hs+    build-depends:+        base >=3,+        A >=0.1 && <0.2,+        B >=0.2 && <0.3,+        C >=0.1 && <0.4     hs-source-dirs: src     other-modules:-        Paths_cabal_bounds+        Paths_setup_config         CabalBounds.Args         CabalBounds.Command         CabalBounds.Execute         CabalBounds.Lenses     ghc-options: -W test-suite other-test-    build-depends:-        base >=3 && <5,-        cmdargs >=0.10.5 && <0.11,-        lens -any,-        pretty-show -any,-        strict -any,-        Cabal -any     type: exitcode-stdio-1.0     main-is: TestMain2.hs+    build-depends:+        base >=3,+        A >=0.1 && <0.2,+        B >=0.2 && <0.3,+        C >=0.1 && <0.4     hs-source-dirs: src     other-modules:-        Paths_cabal_bounds+        Paths_setup_config         CabalBounds.Args         CabalBounds.Command         CabalBounds.Execute
tests/goldenFiles/UpdateLowerOfTest.cabal view
@@ -1,49 +1,37 @@-name: cabal-bounds+name: setup-config version: 0.1 cabal-version: >=1.9.2 build-type: Simple license: UnspecifiedLicense maintainer: daniel.trstenjak@gmail.com-synopsis: A command line program for managing the bounds/versions of the dependencies in a cabal file.-description:-    A command line program for managing the bounds/versions of the dependencies in a cabal file.-category: Utils author: Daniel Trstenjak -source-repository head-    type: git-    location: https://github.com/dan-t/cabal-bounds- library-    build-depends:-        base >=3 && <5,-        cmdargs >=0.10.5 && <0.11,-        lens -any,-        pretty-show -any,-        strict -any,-        Cabal -any     exposed-modules:         CabalBounds.Args         CabalBounds.Command         CabalBounds.Execute         CabalBounds.Lenses+    build-depends:+        base >=3,+        A >=0.1 && <0.2,+        B >=0.2 && <0.3,+        C >=0.1 && <0.4     hs-source-dirs: src     other-modules:-        Paths_cabal_bounds+        Paths_setup_config  executable cabal-bounds-    build-depends:-        base >=3 && <5,-        cmdargs >=0.10.5 && <0.11,-        lens -any,-        pretty-show -any,-        strict -any,-        Cabal -any     main-is: ExeMain1.hs+    build-depends:+        base >=3,+        A >=0.1 && <0.2,+        B >=0.2 && <0.3,+        C >=0.1 && <0.4     cpp-options: -DCABAL     hs-source-dirs: src     other-modules:-        Paths_cabal_bounds+        Paths_setup_config         CabalBounds.Args         CabalBounds.Command         CabalBounds.Execute@@ -51,18 +39,16 @@     ghc-options: -W  executable other-exe-    build-depends:-        base >=3 && <5,-        cmdargs >=0.10.5 && <0.11,-        lens -any,-        pretty-show -any,-        strict -any,-        Cabal -any     main-is: ExeMain2.hs+    build-depends:+        base >=3,+        A >=0.1 && <0.2,+        B >=0.2 && <0.3,+        C >=0.1 && <0.4     cpp-options: -DCABAL     hs-source-dirs: src     other-modules:-        Paths_cabal_bounds+        Paths_setup_config         CabalBounds.Args         CabalBounds.Command         CabalBounds.Execute@@ -70,36 +56,32 @@     ghc-options: -W  test-suite some-test-    build-depends:-        base >=3 && <5,-        cmdargs >=0.10.7 && <0.11,-        lens >=4.7,-        pretty-show >=1.6.7,-        strict >=0.3.2,-        Cabal >=1.20.0.1     type: exitcode-stdio-1.0     main-is: TestMain1.hs+    build-depends:+        base >=3,+        A >=0.3,+        B >=0.3.0.1,+        C >=0.2.5 && <0.4     hs-source-dirs: src     other-modules:-        Paths_cabal_bounds+        Paths_setup_config         CabalBounds.Args         CabalBounds.Command         CabalBounds.Execute         CabalBounds.Lenses     ghc-options: -W test-suite other-test-    build-depends:-        base >=3 && <5,-        cmdargs >=0.10.5 && <0.11,-        lens -any,-        pretty-show -any,-        strict -any,-        Cabal -any     type: exitcode-stdio-1.0     main-is: TestMain2.hs+    build-depends:+        base >=3,+        A >=0.1 && <0.2,+        B >=0.2 && <0.3,+        C >=0.1 && <0.4     hs-source-dirs: src     other-modules:-        Paths_cabal_bounds+        Paths_setup_config         CabalBounds.Args         CabalBounds.Command         CabalBounds.Execute
tests/goldenFiles/UpdateMajor1Lower.cabal view
@@ -1,49 +1,37 @@-name: cabal-bounds+name: setup-config version: 0.1 cabal-version: >=1.9.2 build-type: Simple license: UnspecifiedLicense maintainer: daniel.trstenjak@gmail.com-synopsis: A command line program for managing the bounds/versions of the dependencies in a cabal file.-description:-    A command line program for managing the bounds/versions of the dependencies in a cabal file.-category: Utils author: Daniel Trstenjak -source-repository head-    type: git-    location: https://github.com/dan-t/cabal-bounds- library-    build-depends:-        base >=3 && <5,-        cmdargs <0.11,-        lens >=4,-        pretty-show >=1,-        strict -any,-        Cabal >=1     exposed-modules:         CabalBounds.Args         CabalBounds.Command         CabalBounds.Execute         CabalBounds.Lenses+    build-depends:+        base >=3,+        A <0.2,+        B <0.3,+        C <0.4     hs-source-dirs: src     other-modules:-        Paths_cabal_bounds+        Paths_setup_config  executable cabal-bounds-    build-depends:-        base >=3 && <5,-        cmdargs <0.11,-        lens >=4,-        pretty-show >=1,-        strict -any,-        Cabal >=1     main-is: ExeMain1.hs+    build-depends:+        base >=3,+        A <0.2,+        B <0.3,+        C <0.4     cpp-options: -DCABAL     hs-source-dirs: src     other-modules:-        Paths_cabal_bounds+        Paths_setup_config         CabalBounds.Args         CabalBounds.Command         CabalBounds.Execute@@ -51,18 +39,16 @@     ghc-options: -W  executable other-exe-    build-depends:-        base >=3 && <5,-        cmdargs <0.11,-        lens >=4,-        pretty-show >=1,-        strict -any,-        Cabal >=1     main-is: ExeMain2.hs+    build-depends:+        base >=3,+        A <0.2,+        B <0.3,+        C <0.4     cpp-options: -DCABAL     hs-source-dirs: src     other-modules:-        Paths_cabal_bounds+        Paths_setup_config         CabalBounds.Args         CabalBounds.Command         CabalBounds.Execute@@ -70,36 +56,32 @@     ghc-options: -W  test-suite some-test-    build-depends:-        base >=3 && <5,-        cmdargs <0.11,-        lens >=4,-        pretty-show >=1,-        strict -any,-        Cabal >=1     type: exitcode-stdio-1.0     main-is: TestMain1.hs+    build-depends:+        base >=3,+        A <0.2,+        B <0.3,+        C <0.4     hs-source-dirs: src     other-modules:-        Paths_cabal_bounds+        Paths_setup_config         CabalBounds.Args         CabalBounds.Command         CabalBounds.Execute         CabalBounds.Lenses     ghc-options: -W test-suite other-test-    build-depends:-        base >=3 && <5,-        cmdargs <0.11,-        lens >=4,-        pretty-show >=1,-        strict -any,-        Cabal >=1     type: exitcode-stdio-1.0     main-is: TestMain2.hs+    build-depends:+        base >=3,+        A <0.2,+        B <0.3,+        C <0.4     hs-source-dirs: src     other-modules:-        Paths_cabal_bounds+        Paths_setup_config         CabalBounds.Args         CabalBounds.Command         CabalBounds.Execute
tests/goldenFiles/UpdateMajor1LowerAndUpper.cabal view
@@ -1,49 +1,37 @@-name: cabal-bounds+name: setup-config version: 0.1 cabal-version: >=1.9.2 build-type: Simple license: UnspecifiedLicense maintainer: daniel.trstenjak@gmail.com-synopsis: A command line program for managing the bounds/versions of the dependencies in a cabal file.-description:-    A command line program for managing the bounds/versions of the dependencies in a cabal file.-category: Utils author: Daniel Trstenjak -source-repository head-    type: git-    location: https://github.com/dan-t/cabal-bounds- library-    build-depends:-        base >=3 && <5,-        cmdargs ==0.*,-        lens ==4.*,-        pretty-show ==1.*,-        strict ==0.*,-        Cabal ==1.*     exposed-modules:         CabalBounds.Args         CabalBounds.Command         CabalBounds.Execute         CabalBounds.Lenses+    build-depends:+        base >=3,+        A ==0.*,+        B ==0.*,+        C ==0.*     hs-source-dirs: src     other-modules:-        Paths_cabal_bounds+        Paths_setup_config  executable cabal-bounds-    build-depends:-        base >=3 && <5,-        cmdargs ==0.*,-        lens ==4.*,-        pretty-show ==1.*,-        strict ==0.*,-        Cabal ==1.*     main-is: ExeMain1.hs+    build-depends:+        base >=3,+        A ==0.*,+        B ==0.*,+        C ==0.*     cpp-options: -DCABAL     hs-source-dirs: src     other-modules:-        Paths_cabal_bounds+        Paths_setup_config         CabalBounds.Args         CabalBounds.Command         CabalBounds.Execute@@ -51,18 +39,16 @@     ghc-options: -W  executable other-exe-    build-depends:-        base >=3 && <5,-        cmdargs ==0.*,-        lens ==4.*,-        pretty-show ==1.*,-        strict ==0.*,-        Cabal ==1.*     main-is: ExeMain2.hs+    build-depends:+        base >=3,+        A ==0.*,+        B ==0.*,+        C ==0.*     cpp-options: -DCABAL     hs-source-dirs: src     other-modules:-        Paths_cabal_bounds+        Paths_setup_config         CabalBounds.Args         CabalBounds.Command         CabalBounds.Execute@@ -70,36 +56,32 @@     ghc-options: -W  test-suite some-test-    build-depends:-        base >=3 && <5,-        cmdargs ==0.*,-        lens ==4.*,-        pretty-show ==1.*,-        strict ==0.*,-        Cabal ==1.*     type: exitcode-stdio-1.0     main-is: TestMain1.hs+    build-depends:+        base >=3,+        A ==0.*,+        B ==0.*,+        C ==0.*     hs-source-dirs: src     other-modules:-        Paths_cabal_bounds+        Paths_setup_config         CabalBounds.Args         CabalBounds.Command         CabalBounds.Execute         CabalBounds.Lenses     ghc-options: -W test-suite other-test-    build-depends:-        base >=3 && <5,-        cmdargs ==0.*,-        lens ==4.*,-        pretty-show ==1.*,-        strict ==0.*,-        Cabal ==1.*     type: exitcode-stdio-1.0     main-is: TestMain2.hs+    build-depends:+        base >=3,+        A ==0.*,+        B ==0.*,+        C ==0.*     hs-source-dirs: src     other-modules:-        Paths_cabal_bounds+        Paths_setup_config         CabalBounds.Args         CabalBounds.Command         CabalBounds.Execute
tests/goldenFiles/UpdateMajor1Upper.cabal view
@@ -1,49 +1,37 @@-name: cabal-bounds+name: setup-config version: 0.1 cabal-version: >=1.9.2 build-type: Simple license: UnspecifiedLicense maintainer: daniel.trstenjak@gmail.com-synopsis: A command line program for managing the bounds/versions of the dependencies in a cabal file.-description:-    A command line program for managing the bounds/versions of the dependencies in a cabal file.-category: Utils author: Daniel Trstenjak -source-repository head-    type: git-    location: https://github.com/dan-t/cabal-bounds- library-    build-depends:-        base >=3 && <5,-        cmdargs >=0.10.5 && <1,-        lens <5,-        pretty-show <2,-        strict ==0.*,-        Cabal <2     exposed-modules:         CabalBounds.Args         CabalBounds.Command         CabalBounds.Execute         CabalBounds.Lenses+    build-depends:+        base >=3,+        A >=0.1 && <1,+        B >=0.2 && <1,+        C >=0.1 && <1     hs-source-dirs: src     other-modules:-        Paths_cabal_bounds+        Paths_setup_config  executable cabal-bounds-    build-depends:-        base >=3 && <5,-        cmdargs >=0.10.5 && <1,-        lens <5,-        pretty-show <2,-        strict ==0.*,-        Cabal <2     main-is: ExeMain1.hs+    build-depends:+        base >=3,+        A >=0.1 && <1,+        B >=0.2 && <1,+        C >=0.1 && <1     cpp-options: -DCABAL     hs-source-dirs: src     other-modules:-        Paths_cabal_bounds+        Paths_setup_config         CabalBounds.Args         CabalBounds.Command         CabalBounds.Execute@@ -51,18 +39,16 @@     ghc-options: -W  executable other-exe-    build-depends:-        base >=3 && <5,-        cmdargs >=0.10.5 && <1,-        lens <5,-        pretty-show <2,-        strict ==0.*,-        Cabal <2     main-is: ExeMain2.hs+    build-depends:+        base >=3,+        A >=0.1 && <1,+        B >=0.2 && <1,+        C >=0.1 && <1     cpp-options: -DCABAL     hs-source-dirs: src     other-modules:-        Paths_cabal_bounds+        Paths_setup_config         CabalBounds.Args         CabalBounds.Command         CabalBounds.Execute@@ -70,36 +56,32 @@     ghc-options: -W  test-suite some-test-    build-depends:-        base >=3 && <5,-        cmdargs >=0.10.5 && <1,-        lens <5,-        pretty-show <2,-        strict ==0.*,-        Cabal <2     type: exitcode-stdio-1.0     main-is: TestMain1.hs+    build-depends:+        base >=3,+        A >=0.1 && <1,+        B >=0.2 && <1,+        C >=0.1 && <1     hs-source-dirs: src     other-modules:-        Paths_cabal_bounds+        Paths_setup_config         CabalBounds.Args         CabalBounds.Command         CabalBounds.Execute         CabalBounds.Lenses     ghc-options: -W test-suite other-test-    build-depends:-        base >=3 && <5,-        cmdargs >=0.10.5 && <1,-        lens <5,-        pretty-show <2,-        strict ==0.*,-        Cabal <2     type: exitcode-stdio-1.0     main-is: TestMain2.hs+    build-depends:+        base >=3,+        A >=0.1 && <1,+        B >=0.2 && <1,+        C >=0.1 && <1     hs-source-dirs: src     other-modules:-        Paths_cabal_bounds+        Paths_setup_config         CabalBounds.Args         CabalBounds.Command         CabalBounds.Execute
tests/goldenFiles/UpdateMajor2Lower.cabal view
@@ -1,49 +1,37 @@-name: cabal-bounds+name: setup-config version: 0.1 cabal-version: >=1.9.2 build-type: Simple license: UnspecifiedLicense maintainer: daniel.trstenjak@gmail.com-synopsis: A command line program for managing the bounds/versions of the dependencies in a cabal file.-description:-    A command line program for managing the bounds/versions of the dependencies in a cabal file.-category: Utils author: Daniel Trstenjak -source-repository head-    type: git-    location: https://github.com/dan-t/cabal-bounds- library-    build-depends:-        base >=3 && <5,-        cmdargs ==0.10.*,-        lens >=4.7,-        pretty-show >=1.6,-        strict >=0.3,-        Cabal >=1.20     exposed-modules:         CabalBounds.Args         CabalBounds.Command         CabalBounds.Execute         CabalBounds.Lenses+    build-depends:+        base >=3,+        A >=0.3,+        B >=0.3,+        C >=0.2 && <0.4     hs-source-dirs: src     other-modules:-        Paths_cabal_bounds+        Paths_setup_config  executable cabal-bounds-    build-depends:-        base >=3 && <5,-        cmdargs ==0.10.*,-        lens >=4.7,-        pretty-show >=1.6,-        strict >=0.3,-        Cabal >=1.20     main-is: ExeMain1.hs+    build-depends:+        base >=3,+        A >=0.3,+        B >=0.3,+        C >=0.2 && <0.4     cpp-options: -DCABAL     hs-source-dirs: src     other-modules:-        Paths_cabal_bounds+        Paths_setup_config         CabalBounds.Args         CabalBounds.Command         CabalBounds.Execute@@ -51,18 +39,16 @@     ghc-options: -W  executable other-exe-    build-depends:-        base >=3 && <5,-        cmdargs ==0.10.*,-        lens >=4.7,-        pretty-show >=1.6,-        strict >=0.3,-        Cabal >=1.20     main-is: ExeMain2.hs+    build-depends:+        base >=3,+        A >=0.3,+        B >=0.3,+        C >=0.2 && <0.4     cpp-options: -DCABAL     hs-source-dirs: src     other-modules:-        Paths_cabal_bounds+        Paths_setup_config         CabalBounds.Args         CabalBounds.Command         CabalBounds.Execute@@ -70,36 +56,32 @@     ghc-options: -W  test-suite some-test-    build-depends:-        base >=3 && <5,-        cmdargs ==0.10.*,-        lens >=4.7,-        pretty-show >=1.6,-        strict >=0.3,-        Cabal >=1.20     type: exitcode-stdio-1.0     main-is: TestMain1.hs+    build-depends:+        base >=3,+        A >=0.3,+        B >=0.3,+        C >=0.2 && <0.4     hs-source-dirs: src     other-modules:-        Paths_cabal_bounds+        Paths_setup_config         CabalBounds.Args         CabalBounds.Command         CabalBounds.Execute         CabalBounds.Lenses     ghc-options: -W test-suite other-test-    build-depends:-        base >=3 && <5,-        cmdargs ==0.10.*,-        lens >=4.7,-        pretty-show >=1.6,-        strict >=0.3,-        Cabal >=1.20     type: exitcode-stdio-1.0     main-is: TestMain2.hs+    build-depends:+        base >=3,+        A >=0.3,+        B >=0.3,+        C >=0.2 && <0.4     hs-source-dirs: src     other-modules:-        Paths_cabal_bounds+        Paths_setup_config         CabalBounds.Args         CabalBounds.Command         CabalBounds.Execute
tests/goldenFiles/UpdateMajor2Upper.cabal view
@@ -1,49 +1,37 @@-name: cabal-bounds+name: setup-config version: 0.1 cabal-version: >=1.9.2 build-type: Simple license: UnspecifiedLicense maintainer: daniel.trstenjak@gmail.com-synopsis: A command line program for managing the bounds/versions of the dependencies in a cabal file.-description:-    A command line program for managing the bounds/versions of the dependencies in a cabal file.-category: Utils author: Daniel Trstenjak -source-repository head-    type: git-    location: https://github.com/dan-t/cabal-bounds- library-    build-depends:-        base >=3 && <5,-        cmdargs >=0.10.5 && <0.11,-        lens <4.8,-        pretty-show <1.7,-        strict <0.4,-        Cabal <1.21     exposed-modules:         CabalBounds.Args         CabalBounds.Command         CabalBounds.Execute         CabalBounds.Lenses+    build-depends:+        base >=3,+        A >=0.1 && <0.4,+        B >=0.2 && <0.4,+        C >=0.1 && <0.3     hs-source-dirs: src     other-modules:-        Paths_cabal_bounds+        Paths_setup_config  executable cabal-bounds-    build-depends:-        base >=3 && <5,-        cmdargs >=0.10.5 && <0.11,-        lens <4.8,-        pretty-show <1.7,-        strict <0.4,-        Cabal <1.21     main-is: ExeMain1.hs+    build-depends:+        base >=3,+        A >=0.1 && <0.4,+        B >=0.2 && <0.4,+        C >=0.1 && <0.3     cpp-options: -DCABAL     hs-source-dirs: src     other-modules:-        Paths_cabal_bounds+        Paths_setup_config         CabalBounds.Args         CabalBounds.Command         CabalBounds.Execute@@ -51,18 +39,16 @@     ghc-options: -W  executable other-exe-    build-depends:-        base >=3 && <5,-        cmdargs >=0.10.5 && <0.11,-        lens <4.8,-        pretty-show <1.7,-        strict <0.4,-        Cabal <1.21     main-is: ExeMain2.hs+    build-depends:+        base >=3,+        A >=0.1 && <0.4,+        B >=0.2 && <0.4,+        C >=0.1 && <0.3     cpp-options: -DCABAL     hs-source-dirs: src     other-modules:-        Paths_cabal_bounds+        Paths_setup_config         CabalBounds.Args         CabalBounds.Command         CabalBounds.Execute@@ -70,36 +56,32 @@     ghc-options: -W  test-suite some-test-    build-depends:-        base >=3 && <5,-        cmdargs >=0.10.5 && <0.11,-        lens <4.8,-        pretty-show <1.7,-        strict <0.4,-        Cabal <1.21     type: exitcode-stdio-1.0     main-is: TestMain1.hs+    build-depends:+        base >=3,+        A >=0.1 && <0.4,+        B >=0.2 && <0.4,+        C >=0.1 && <0.3     hs-source-dirs: src     other-modules:-        Paths_cabal_bounds+        Paths_setup_config         CabalBounds.Args         CabalBounds.Command         CabalBounds.Execute         CabalBounds.Lenses     ghc-options: -W test-suite other-test-    build-depends:-        base >=3 && <5,-        cmdargs >=0.10.5 && <0.11,-        lens <4.8,-        pretty-show <1.7,-        strict <0.4,-        Cabal <1.21     type: exitcode-stdio-1.0     main-is: TestMain2.hs+    build-depends:+        base >=3,+        A >=0.1 && <0.4,+        B >=0.2 && <0.4,+        C >=0.1 && <0.3     hs-source-dirs: src     other-modules:-        Paths_cabal_bounds+        Paths_setup_config         CabalBounds.Args         CabalBounds.Command         CabalBounds.Execute
tests/goldenFiles/UpdateMinorLower.cabal view
@@ -1,49 +1,37 @@-name: cabal-bounds+name: setup-config version: 0.1 cabal-version: >=1.9.2 build-type: Simple license: UnspecifiedLicense maintainer: daniel.trstenjak@gmail.com-synopsis: A command line program for managing the bounds/versions of the dependencies in a cabal file.-description:-    A command line program for managing the bounds/versions of the dependencies in a cabal file.-category: Utils author: Daniel Trstenjak -source-repository head-    type: git-    location: https://github.com/dan-t/cabal-bounds- library-    build-depends:-        base >=3 && <5,-        cmdargs >=0.10.7 && <0.11,-        lens >=4.7,-        pretty-show >=1.6.7,-        strict >=0.3.2,-        Cabal >=1.20.0.1     exposed-modules:         CabalBounds.Args         CabalBounds.Command         CabalBounds.Execute         CabalBounds.Lenses+    build-depends:+        base >=3,+        A >=0.3,+        B >=0.3.0.1,+        C >=0.2.5 && <0.4     hs-source-dirs: src     other-modules:-        Paths_cabal_bounds+        Paths_setup_config  executable cabal-bounds-    build-depends:-        base >=3 && <5,-        cmdargs >=0.10.7 && <0.11,-        lens >=4.7,-        pretty-show >=1.6.7,-        strict >=0.3.2,-        Cabal >=1.20.0.1     main-is: ExeMain1.hs+    build-depends:+        base >=3,+        A >=0.3,+        B >=0.3.0.1,+        C >=0.2.5 && <0.4     cpp-options: -DCABAL     hs-source-dirs: src     other-modules:-        Paths_cabal_bounds+        Paths_setup_config         CabalBounds.Args         CabalBounds.Command         CabalBounds.Execute@@ -51,18 +39,16 @@     ghc-options: -W  executable other-exe-    build-depends:-        base >=3 && <5,-        cmdargs >=0.10.7 && <0.11,-        lens >=4.7,-        pretty-show >=1.6.7,-        strict >=0.3.2,-        Cabal >=1.20.0.1     main-is: ExeMain2.hs+    build-depends:+        base >=3,+        A >=0.3,+        B >=0.3.0.1,+        C >=0.2.5 && <0.4     cpp-options: -DCABAL     hs-source-dirs: src     other-modules:-        Paths_cabal_bounds+        Paths_setup_config         CabalBounds.Args         CabalBounds.Command         CabalBounds.Execute@@ -70,36 +56,32 @@     ghc-options: -W  test-suite some-test-    build-depends:-        base >=3 && <5,-        cmdargs >=0.10.7 && <0.11,-        lens >=4.7,-        pretty-show >=1.6.7,-        strict >=0.3.2,-        Cabal >=1.20.0.1     type: exitcode-stdio-1.0     main-is: TestMain1.hs+    build-depends:+        base >=3,+        A >=0.3,+        B >=0.3.0.1,+        C >=0.2.5 && <0.4     hs-source-dirs: src     other-modules:-        Paths_cabal_bounds+        Paths_setup_config         CabalBounds.Args         CabalBounds.Command         CabalBounds.Execute         CabalBounds.Lenses     ghc-options: -W test-suite other-test-    build-depends:-        base >=3 && <5,-        cmdargs >=0.10.7 && <0.11,-        lens >=4.7,-        pretty-show >=1.6.7,-        strict >=0.3.2,-        Cabal >=1.20.0.1     type: exitcode-stdio-1.0     main-is: TestMain2.hs+    build-depends:+        base >=3,+        A >=0.3,+        B >=0.3.0.1,+        C >=0.2.5 && <0.4     hs-source-dirs: src     other-modules:-        Paths_cabal_bounds+        Paths_setup_config         CabalBounds.Args         CabalBounds.Command         CabalBounds.Execute
tests/goldenFiles/UpdateMinorLowerAndUpper.cabal view
@@ -1,49 +1,37 @@-name: cabal-bounds+name: setup-config version: 0.1 cabal-version: >=1.9.2 build-type: Simple license: UnspecifiedLicense maintainer: daniel.trstenjak@gmail.com-synopsis: A command line program for managing the bounds/versions of the dependencies in a cabal file.-description:-    A command line program for managing the bounds/versions of the dependencies in a cabal file.-category: Utils author: Daniel Trstenjak -source-repository head-    type: git-    location: https://github.com/dan-t/cabal-bounds- library-    build-depends:-        base >=3 && <5,-        cmdargs ==0.10.7.*,-        lens >=4.7 && <4.7.1,-        pretty-show ==1.6.7.*,-        strict ==0.3.2.*,-        Cabal ==1.20.0.1.*     exposed-modules:         CabalBounds.Args         CabalBounds.Command         CabalBounds.Execute         CabalBounds.Lenses+    build-depends:+        base >=3,+        A >=0.3 && <0.3.1,+        B ==0.3.0.1.*,+        C ==0.2.5.*     hs-source-dirs: src     other-modules:-        Paths_cabal_bounds+        Paths_setup_config  executable cabal-bounds-    build-depends:-        base >=3 && <5,-        cmdargs ==0.10.7.*,-        lens >=4.7 && <4.7.1,-        pretty-show ==1.6.7.*,-        strict ==0.3.2.*,-        Cabal ==1.20.0.1.*     main-is: ExeMain1.hs+    build-depends:+        base >=3,+        A >=0.3 && <0.3.1,+        B ==0.3.0.1.*,+        C ==0.2.5.*     cpp-options: -DCABAL     hs-source-dirs: src     other-modules:-        Paths_cabal_bounds+        Paths_setup_config         CabalBounds.Args         CabalBounds.Command         CabalBounds.Execute@@ -51,18 +39,16 @@     ghc-options: -W  executable other-exe-    build-depends:-        base >=3 && <5,-        cmdargs ==0.10.7.*,-        lens >=4.7 && <4.7.1,-        pretty-show ==1.6.7.*,-        strict ==0.3.2.*,-        Cabal ==1.20.0.1.*     main-is: ExeMain2.hs+    build-depends:+        base >=3,+        A >=0.3 && <0.3.1,+        B ==0.3.0.1.*,+        C ==0.2.5.*     cpp-options: -DCABAL     hs-source-dirs: src     other-modules:-        Paths_cabal_bounds+        Paths_setup_config         CabalBounds.Args         CabalBounds.Command         CabalBounds.Execute@@ -70,36 +56,32 @@     ghc-options: -W  test-suite some-test-    build-depends:-        base >=3 && <5,-        cmdargs ==0.10.7.*,-        lens >=4.7 && <4.7.1,-        pretty-show ==1.6.7.*,-        strict ==0.3.2.*,-        Cabal ==1.20.0.1.*     type: exitcode-stdio-1.0     main-is: TestMain1.hs+    build-depends:+        base >=3,+        A >=0.3 && <0.3.1,+        B ==0.3.0.1.*,+        C ==0.2.5.*     hs-source-dirs: src     other-modules:-        Paths_cabal_bounds+        Paths_setup_config         CabalBounds.Args         CabalBounds.Command         CabalBounds.Execute         CabalBounds.Lenses     ghc-options: -W test-suite other-test-    build-depends:-        base >=3 && <5,-        cmdargs ==0.10.7.*,-        lens >=4.7 && <4.7.1,-        pretty-show ==1.6.7.*,-        strict ==0.3.2.*,-        Cabal ==1.20.0.1.*     type: exitcode-stdio-1.0     main-is: TestMain2.hs+    build-depends:+        base >=3,+        A >=0.3 && <0.3.1,+        B ==0.3.0.1.*,+        C ==0.2.5.*     hs-source-dirs: src     other-modules:-        Paths_cabal_bounds+        Paths_setup_config         CabalBounds.Args         CabalBounds.Command         CabalBounds.Execute
tests/goldenFiles/UpdateMinorUpper.cabal view
@@ -1,49 +1,37 @@-name: cabal-bounds+name: setup-config version: 0.1 cabal-version: >=1.9.2 build-type: Simple license: UnspecifiedLicense maintainer: daniel.trstenjak@gmail.com-synopsis: A command line program for managing the bounds/versions of the dependencies in a cabal file.-description:-    A command line program for managing the bounds/versions of the dependencies in a cabal file.-category: Utils author: Daniel Trstenjak -source-repository head-    type: git-    location: https://github.com/dan-t/cabal-bounds- library-    build-depends:-        base >=3 && <5,-        cmdargs >=0.10.5 && <0.10.8,-        lens <4.7.1,-        pretty-show <1.6.8,-        strict <0.3.3,-        Cabal <1.20.0.2     exposed-modules:         CabalBounds.Args         CabalBounds.Command         CabalBounds.Execute         CabalBounds.Lenses+    build-depends:+        base >=3,+        A >=0.1 && <0.3.1,+        B >=0.2 && <0.3.0.2,+        C >=0.1 && <0.2.6     hs-source-dirs: src     other-modules:-        Paths_cabal_bounds+        Paths_setup_config  executable cabal-bounds-    build-depends:-        base >=3 && <5,-        cmdargs >=0.10.5 && <0.10.8,-        lens <4.7.1,-        pretty-show <1.6.8,-        strict <0.3.3,-        Cabal <1.20.0.2     main-is: ExeMain1.hs+    build-depends:+        base >=3,+        A >=0.1 && <0.3.1,+        B >=0.2 && <0.3.0.2,+        C >=0.1 && <0.2.6     cpp-options: -DCABAL     hs-source-dirs: src     other-modules:-        Paths_cabal_bounds+        Paths_setup_config         CabalBounds.Args         CabalBounds.Command         CabalBounds.Execute@@ -51,18 +39,16 @@     ghc-options: -W  executable other-exe-    build-depends:-        base >=3 && <5,-        cmdargs >=0.10.5 && <0.10.8,-        lens <4.7.1,-        pretty-show <1.6.8,-        strict <0.3.3,-        Cabal <1.20.0.2     main-is: ExeMain2.hs+    build-depends:+        base >=3,+        A >=0.1 && <0.3.1,+        B >=0.2 && <0.3.0.2,+        C >=0.1 && <0.2.6     cpp-options: -DCABAL     hs-source-dirs: src     other-modules:-        Paths_cabal_bounds+        Paths_setup_config         CabalBounds.Args         CabalBounds.Command         CabalBounds.Execute@@ -70,36 +56,32 @@     ghc-options: -W  test-suite some-test-    build-depends:-        base >=3 && <5,-        cmdargs >=0.10.5 && <0.10.8,-        lens <4.7.1,-        pretty-show <1.6.8,-        strict <0.3.3,-        Cabal <1.20.0.2     type: exitcode-stdio-1.0     main-is: TestMain1.hs+    build-depends:+        base >=3,+        A >=0.1 && <0.3.1,+        B >=0.2 && <0.3.0.2,+        C >=0.1 && <0.2.6     hs-source-dirs: src     other-modules:-        Paths_cabal_bounds+        Paths_setup_config         CabalBounds.Args         CabalBounds.Command         CabalBounds.Execute         CabalBounds.Lenses     ghc-options: -W test-suite other-test-    build-depends:-        base >=3 && <5,-        cmdargs >=0.10.5 && <0.10.8,-        lens <4.7.1,-        pretty-show <1.6.8,-        strict <0.3.3,-        Cabal <1.20.0.2     type: exitcode-stdio-1.0     main-is: TestMain2.hs+    build-depends:+        base >=3,+        A >=0.1 && <0.3.1,+        B >=0.2 && <0.3.0.2,+        C >=0.1 && <0.2.6     hs-source-dirs: src     other-modules:-        Paths_cabal_bounds+        Paths_setup_config         CabalBounds.Args         CabalBounds.Command         CabalBounds.Execute
tests/goldenFiles/UpdateOnlyMissing.cabal view
@@ -1,49 +1,37 @@-name: cabal-bounds+name: setup-config version: 0.1 cabal-version: >=1.9.2 build-type: Simple license: UnspecifiedLicense maintainer: daniel.trstenjak@gmail.com-synopsis: A command line program for managing the bounds/versions of the dependencies in a cabal file.-description:-    A command line program for managing the bounds/versions of the dependencies in a cabal file.-category: Utils author: Daniel Trstenjak -source-repository head-    type: git-    location: https://github.com/dan-t/cabal-bounds- library-    build-depends:-        base >=3 && <5,-        cmdargs >=0.10.5 && <0.11,-        lens ==4.7.*,-        pretty-show >=1.6.7 && <1.7,-        strict >=0.3.2 && <0.4,-        Cabal >=1.20.0.1 && <1.21     exposed-modules:         CabalBounds.Args         CabalBounds.Command         CabalBounds.Execute         CabalBounds.Lenses+    build-depends:+        base >=3,+        A >=0.1 && <0.2,+        B >=0.2 && <0.3,+        C >=0.2.5 && <0.3     hs-source-dirs: src     other-modules:-        Paths_cabal_bounds+        Paths_setup_config  executable cabal-bounds-    build-depends:-        base >=3 && <5,-        cmdargs >=0.10.5 && <0.11,-        lens ==4.7.*,-        pretty-show >=1.6.7 && <1.7,-        strict >=0.3.2 && <0.4,-        Cabal >=1.20.0.1 && <1.21     main-is: ExeMain1.hs+    build-depends:+        base >=3,+        A >=0.1 && <0.2,+        B >=0.2 && <0.3,+        C >=0.1 && <0.4     cpp-options: -DCABAL     hs-source-dirs: src     other-modules:-        Paths_cabal_bounds+        Paths_setup_config         CabalBounds.Args         CabalBounds.Command         CabalBounds.Execute@@ -51,18 +39,16 @@     ghc-options: -W  executable other-exe-    build-depends:-        base >=3 && <5,-        cmdargs >=0.10.5 && <0.11,-        lens ==4.7.*,-        pretty-show >=1.6.7 && <1.7,-        strict >=0.3.2 && <0.4,-        Cabal >=1.20.0.1 && <1.21     main-is: ExeMain2.hs+    build-depends:+        base >=3,+        A >=0.1 && <0.2,+        B >=0.2 && <0.3,+        C >=0.1 && <0.4     cpp-options: -DCABAL     hs-source-dirs: src     other-modules:-        Paths_cabal_bounds+        Paths_setup_config         CabalBounds.Args         CabalBounds.Command         CabalBounds.Execute@@ -70,36 +56,32 @@     ghc-options: -W  test-suite some-test-    build-depends:-        base >=3 && <5,-        cmdargs >=0.10.5 && <0.11,-        lens ==4.7.*,-        pretty-show >=1.6.7 && <1.7,-        strict >=0.3.2 && <0.4,-        Cabal >=1.20.0.1 && <1.21     type: exitcode-stdio-1.0     main-is: TestMain1.hs+    build-depends:+        base >=3,+        A >=0.1 && <0.2,+        B >=0.2 && <0.3,+        C >=0.1 && <0.4     hs-source-dirs: src     other-modules:-        Paths_cabal_bounds+        Paths_setup_config         CabalBounds.Args         CabalBounds.Command         CabalBounds.Execute         CabalBounds.Lenses     ghc-options: -W test-suite other-test-    build-depends:-        base >=3 && <5,-        cmdargs >=0.10.5 && <0.11,-        lens ==4.7.*,-        pretty-show >=1.6.7 && <1.7,-        strict >=0.3.2 && <0.4,-        Cabal >=1.20.0.1 && <1.21     type: exitcode-stdio-1.0     main-is: TestMain2.hs+    build-depends:+        base >=3,+        A >=0.1 && <0.2,+        B >=0.2 && <0.3,+        C >=0.1 && <0.4     hs-source-dirs: src     other-modules:-        Paths_cabal_bounds+        Paths_setup_config         CabalBounds.Args         CabalBounds.Command         CabalBounds.Execute
+ tests/goldenFiles/UpdateUpperFromFile.cabal view
@@ -0,0 +1,89 @@+name: setup-config+version: 0.1+cabal-version: >=1.9.2+build-type: Simple+license: UnspecifiedLicense+maintainer: daniel.trstenjak@gmail.com+author: Daniel Trstenjak++library+    exposed-modules:+        CabalBounds.Args+        CabalBounds.Command+        CabalBounds.Execute+        CabalBounds.Lenses+    build-depends:+        base >=3,+        A >=0.1 && <2.3,+        B >=0.2 && <0.3,+        C >=0.1 && <0.6+    hs-source-dirs: src+    other-modules:+        Paths_setup_config++executable cabal-bounds+    main-is: ExeMain1.hs+    build-depends:+        base >=3,+        A >=0.1 && <2.3,+        B >=0.2 && <0.3,+        C >=0.1 && <0.6+    cpp-options: -DCABAL+    hs-source-dirs: src+    other-modules:+        Paths_setup_config+        CabalBounds.Args+        CabalBounds.Command+        CabalBounds.Execute+        CabalBounds.Lenses+    ghc-options: -W++executable other-exe+    main-is: ExeMain2.hs+    build-depends:+        base >=3,+        A >=0.1 && <2.3,+        B >=0.2 && <0.3,+        C >=0.1 && <0.6+    cpp-options: -DCABAL+    hs-source-dirs: src+    other-modules:+        Paths_setup_config+        CabalBounds.Args+        CabalBounds.Command+        CabalBounds.Execute+        CabalBounds.Lenses+    ghc-options: -W++test-suite some-test+    type: exitcode-stdio-1.0+    main-is: TestMain1.hs+    build-depends:+        base >=3,+        A >=0.1 && <2.3,+        B >=0.2 && <0.3,+        C >=0.1 && <0.6+    hs-source-dirs: src+    other-modules:+        Paths_setup_config+        CabalBounds.Args+        CabalBounds.Command+        CabalBounds.Execute+        CabalBounds.Lenses+    ghc-options: -W+test-suite other-test+    type: exitcode-stdio-1.0+    main-is: TestMain2.hs+    build-depends:+        base >=3,+        A >=0.1 && <2.3,+        B >=0.2 && <0.3,+        C >=0.1 && <0.6+    hs-source-dirs: src+    other-modules:+        Paths_setup_config+        CabalBounds.Args+        CabalBounds.Command+        CabalBounds.Execute+        CabalBounds.Lenses+    ghc-options: -W
tests/goldenFiles/UpdateUpperOfAll.cabal view
@@ -1,49 +1,37 @@-name: cabal-bounds+name: setup-config version: 0.1 cabal-version: >=1.9.2 build-type: Simple license: UnspecifiedLicense maintainer: daniel.trstenjak@gmail.com-synopsis: A command line program for managing the bounds/versions of the dependencies in a cabal file.-description:-    A command line program for managing the bounds/versions of the dependencies in a cabal file.-category: Utils author: Daniel Trstenjak -source-repository head-    type: git-    location: https://github.com/dan-t/cabal-bounds- library-    build-depends:-        base >=3 && <5,-        cmdargs >=0.10.5 && <0.11,-        lens <4.8,-        pretty-show <1.7,-        strict <0.4,-        Cabal <1.21     exposed-modules:         CabalBounds.Args         CabalBounds.Command         CabalBounds.Execute         CabalBounds.Lenses+    build-depends:+        base >=3,+        A >=0.1 && <0.4,+        B >=0.2 && <0.4,+        C >=0.1 && <0.3     hs-source-dirs: src     other-modules:-        Paths_cabal_bounds+        Paths_setup_config  executable cabal-bounds-    build-depends:-        base >=3 && <5,-        cmdargs >=0.10.5 && <0.11,-        lens <4.8,-        pretty-show <1.7,-        strict <0.4,-        Cabal <1.21     main-is: ExeMain1.hs+    build-depends:+        base >=3,+        A >=0.1 && <0.4,+        B >=0.2 && <0.4,+        C >=0.1 && <0.3     cpp-options: -DCABAL     hs-source-dirs: src     other-modules:-        Paths_cabal_bounds+        Paths_setup_config         CabalBounds.Args         CabalBounds.Command         CabalBounds.Execute@@ -51,18 +39,16 @@     ghc-options: -W  executable other-exe-    build-depends:-        base >=3 && <5,-        cmdargs >=0.10.5 && <0.11,-        lens <4.8,-        pretty-show <1.7,-        strict <0.4,-        Cabal <1.21     main-is: ExeMain2.hs+    build-depends:+        base >=3,+        A >=0.1 && <0.4,+        B >=0.2 && <0.4,+        C >=0.1 && <0.3     cpp-options: -DCABAL     hs-source-dirs: src     other-modules:-        Paths_cabal_bounds+        Paths_setup_config         CabalBounds.Args         CabalBounds.Command         CabalBounds.Execute@@ -70,36 +56,32 @@     ghc-options: -W  test-suite some-test-    build-depends:-        base >=3 && <5,-        cmdargs >=0.10.5 && <0.11,-        lens <4.8,-        pretty-show <1.7,-        strict <0.4,-        Cabal <1.21     type: exitcode-stdio-1.0     main-is: TestMain1.hs+    build-depends:+        base >=3,+        A >=0.1 && <0.4,+        B >=0.2 && <0.4,+        C >=0.1 && <0.3     hs-source-dirs: src     other-modules:-        Paths_cabal_bounds+        Paths_setup_config         CabalBounds.Args         CabalBounds.Command         CabalBounds.Execute         CabalBounds.Lenses     ghc-options: -W test-suite other-test-    build-depends:-        base >=3 && <5,-        cmdargs >=0.10.5 && <0.11,-        lens <4.8,-        pretty-show <1.7,-        strict <0.4,-        Cabal <1.21     type: exitcode-stdio-1.0     main-is: TestMain2.hs+    build-depends:+        base >=3,+        A >=0.1 && <0.4,+        B >=0.2 && <0.4,+        C >=0.1 && <0.3     hs-source-dirs: src     other-modules:-        Paths_cabal_bounds+        Paths_setup_config         CabalBounds.Args         CabalBounds.Command         CabalBounds.Execute
tests/goldenFiles/UpdateUpperOfAllExes.cabal view
@@ -1,49 +1,37 @@-name: cabal-bounds+name: setup-config version: 0.1 cabal-version: >=1.9.2 build-type: Simple license: UnspecifiedLicense maintainer: daniel.trstenjak@gmail.com-synopsis: A command line program for managing the bounds/versions of the dependencies in a cabal file.-description:-    A command line program for managing the bounds/versions of the dependencies in a cabal file.-category: Utils author: Daniel Trstenjak -source-repository head-    type: git-    location: https://github.com/dan-t/cabal-bounds- library-    build-depends:-        base >=3 && <5,-        cmdargs >=0.10.5 && <0.11,-        lens -any,-        pretty-show -any,-        strict -any,-        Cabal -any     exposed-modules:         CabalBounds.Args         CabalBounds.Command         CabalBounds.Execute         CabalBounds.Lenses+    build-depends:+        base >=3,+        A >=0.1 && <0.2,+        B >=0.2 && <0.3,+        C >=0.1 && <0.4     hs-source-dirs: src     other-modules:-        Paths_cabal_bounds+        Paths_setup_config  executable cabal-bounds-    build-depends:-        base >=3 && <5,-        cmdargs >=0.10.5 && <0.11,-        lens <4.8,-        pretty-show <1.7,-        strict <0.4,-        Cabal <1.21     main-is: ExeMain1.hs+    build-depends:+        base >=3,+        A >=0.1 && <0.4,+        B >=0.2 && <0.4,+        C >=0.1 && <0.3     cpp-options: -DCABAL     hs-source-dirs: src     other-modules:-        Paths_cabal_bounds+        Paths_setup_config         CabalBounds.Args         CabalBounds.Command         CabalBounds.Execute@@ -51,18 +39,16 @@     ghc-options: -W  executable other-exe-    build-depends:-        base >=3 && <5,-        cmdargs >=0.10.5 && <0.11,-        lens <4.8,-        pretty-show <1.7,-        strict <0.4,-        Cabal <1.21     main-is: ExeMain2.hs+    build-depends:+        base >=3,+        A >=0.1 && <0.4,+        B >=0.2 && <0.4,+        C >=0.1 && <0.3     cpp-options: -DCABAL     hs-source-dirs: src     other-modules:-        Paths_cabal_bounds+        Paths_setup_config         CabalBounds.Args         CabalBounds.Command         CabalBounds.Execute@@ -70,36 +56,32 @@     ghc-options: -W  test-suite some-test-    build-depends:-        base >=3 && <5,-        cmdargs >=0.10.5 && <0.11,-        lens -any,-        pretty-show -any,-        strict -any,-        Cabal -any     type: exitcode-stdio-1.0     main-is: TestMain1.hs+    build-depends:+        base >=3,+        A >=0.1 && <0.2,+        B >=0.2 && <0.3,+        C >=0.1 && <0.4     hs-source-dirs: src     other-modules:-        Paths_cabal_bounds+        Paths_setup_config         CabalBounds.Args         CabalBounds.Command         CabalBounds.Execute         CabalBounds.Lenses     ghc-options: -W test-suite other-test-    build-depends:-        base >=3 && <5,-        cmdargs >=0.10.5 && <0.11,-        lens -any,-        pretty-show -any,-        strict -any,-        Cabal -any     type: exitcode-stdio-1.0     main-is: TestMain2.hs+    build-depends:+        base >=3,+        A >=0.1 && <0.2,+        B >=0.2 && <0.3,+        C >=0.1 && <0.4     hs-source-dirs: src     other-modules:-        Paths_cabal_bounds+        Paths_setup_config         CabalBounds.Args         CabalBounds.Command         CabalBounds.Execute
tests/goldenFiles/UpdateUpperOfExe.cabal view
@@ -1,49 +1,37 @@-name: cabal-bounds+name: setup-config version: 0.1 cabal-version: >=1.9.2 build-type: Simple license: UnspecifiedLicense maintainer: daniel.trstenjak@gmail.com-synopsis: A command line program for managing the bounds/versions of the dependencies in a cabal file.-description:-    A command line program for managing the bounds/versions of the dependencies in a cabal file.-category: Utils author: Daniel Trstenjak -source-repository head-    type: git-    location: https://github.com/dan-t/cabal-bounds- library-    build-depends:-        base >=3 && <5,-        cmdargs >=0.10.5 && <0.11,-        lens -any,-        pretty-show -any,-        strict -any,-        Cabal -any     exposed-modules:         CabalBounds.Args         CabalBounds.Command         CabalBounds.Execute         CabalBounds.Lenses+    build-depends:+        base >=3,+        A >=0.1 && <0.2,+        B >=0.2 && <0.3,+        C >=0.1 && <0.4     hs-source-dirs: src     other-modules:-        Paths_cabal_bounds+        Paths_setup_config  executable cabal-bounds-    build-depends:-        base >=3 && <5,-        cmdargs >=0.10.5 && <0.11,-        lens <4.8,-        pretty-show <1.7,-        strict <0.4,-        Cabal <1.21     main-is: ExeMain1.hs+    build-depends:+        base >=3,+        A >=0.1 && <0.4,+        B >=0.2 && <0.4,+        C >=0.1 && <0.3     cpp-options: -DCABAL     hs-source-dirs: src     other-modules:-        Paths_cabal_bounds+        Paths_setup_config         CabalBounds.Args         CabalBounds.Command         CabalBounds.Execute@@ -51,18 +39,16 @@     ghc-options: -W  executable other-exe-    build-depends:-        base >=3 && <5,-        cmdargs >=0.10.5 && <0.11,-        lens -any,-        pretty-show -any,-        strict -any,-        Cabal -any     main-is: ExeMain2.hs+    build-depends:+        base >=3,+        A >=0.1 && <0.2,+        B >=0.2 && <0.3,+        C >=0.1 && <0.4     cpp-options: -DCABAL     hs-source-dirs: src     other-modules:-        Paths_cabal_bounds+        Paths_setup_config         CabalBounds.Args         CabalBounds.Command         CabalBounds.Execute@@ -70,36 +56,32 @@     ghc-options: -W  test-suite some-test-    build-depends:-        base >=3 && <5,-        cmdargs >=0.10.5 && <0.11,-        lens -any,-        pretty-show -any,-        strict -any,-        Cabal -any     type: exitcode-stdio-1.0     main-is: TestMain1.hs+    build-depends:+        base >=3,+        A >=0.1 && <0.2,+        B >=0.2 && <0.3,+        C >=0.1 && <0.4     hs-source-dirs: src     other-modules:-        Paths_cabal_bounds+        Paths_setup_config         CabalBounds.Args         CabalBounds.Command         CabalBounds.Execute         CabalBounds.Lenses     ghc-options: -W test-suite other-test-    build-depends:-        base >=3 && <5,-        cmdargs >=0.10.5 && <0.11,-        lens -any,-        pretty-show -any,-        strict -any,-        Cabal -any     type: exitcode-stdio-1.0     main-is: TestMain2.hs+    build-depends:+        base >=3,+        A >=0.1 && <0.2,+        B >=0.2 && <0.3,+        C >=0.1 && <0.4     hs-source-dirs: src     other-modules:-        Paths_cabal_bounds+        Paths_setup_config         CabalBounds.Args         CabalBounds.Command         CabalBounds.Execute
tests/goldenFiles/UpdateUpperOfLibrary.cabal view
@@ -1,49 +1,37 @@-name: cabal-bounds+name: setup-config version: 0.1 cabal-version: >=1.9.2 build-type: Simple license: UnspecifiedLicense maintainer: daniel.trstenjak@gmail.com-synopsis: A command line program for managing the bounds/versions of the dependencies in a cabal file.-description:-    A command line program for managing the bounds/versions of the dependencies in a cabal file.-category: Utils author: Daniel Trstenjak -source-repository head-    type: git-    location: https://github.com/dan-t/cabal-bounds- library-    build-depends:-        base >=3 && <5,-        cmdargs >=0.10.5 && <0.11,-        lens <4.8,-        pretty-show <1.7,-        strict <0.4,-        Cabal <1.21     exposed-modules:         CabalBounds.Args         CabalBounds.Command         CabalBounds.Execute         CabalBounds.Lenses+    build-depends:+        base >=3,+        A >=0.1 && <0.4,+        B >=0.2 && <0.4,+        C >=0.1 && <0.3     hs-source-dirs: src     other-modules:-        Paths_cabal_bounds+        Paths_setup_config  executable cabal-bounds-    build-depends:-        base >=3 && <5,-        cmdargs >=0.10.5 && <0.11,-        lens -any,-        pretty-show -any,-        strict -any,-        Cabal -any     main-is: ExeMain1.hs+    build-depends:+        base >=3,+        A >=0.1 && <0.2,+        B >=0.2 && <0.3,+        C >=0.1 && <0.4     cpp-options: -DCABAL     hs-source-dirs: src     other-modules:-        Paths_cabal_bounds+        Paths_setup_config         CabalBounds.Args         CabalBounds.Command         CabalBounds.Execute@@ -51,18 +39,16 @@     ghc-options: -W  executable other-exe-    build-depends:-        base >=3 && <5,-        cmdargs >=0.10.5 && <0.11,-        lens -any,-        pretty-show -any,-        strict -any,-        Cabal -any     main-is: ExeMain2.hs+    build-depends:+        base >=3,+        A >=0.1 && <0.2,+        B >=0.2 && <0.3,+        C >=0.1 && <0.4     cpp-options: -DCABAL     hs-source-dirs: src     other-modules:-        Paths_cabal_bounds+        Paths_setup_config         CabalBounds.Args         CabalBounds.Command         CabalBounds.Execute@@ -70,36 +56,32 @@     ghc-options: -W  test-suite some-test-    build-depends:-        base >=3 && <5,-        cmdargs >=0.10.5 && <0.11,-        lens -any,-        pretty-show -any,-        strict -any,-        Cabal -any     type: exitcode-stdio-1.0     main-is: TestMain1.hs+    build-depends:+        base >=3,+        A >=0.1 && <0.2,+        B >=0.2 && <0.3,+        C >=0.1 && <0.4     hs-source-dirs: src     other-modules:-        Paths_cabal_bounds+        Paths_setup_config         CabalBounds.Args         CabalBounds.Command         CabalBounds.Execute         CabalBounds.Lenses     ghc-options: -W test-suite other-test-    build-depends:-        base >=3 && <5,-        cmdargs >=0.10.5 && <0.11,-        lens -any,-        pretty-show -any,-        strict -any,-        Cabal -any     type: exitcode-stdio-1.0     main-is: TestMain2.hs+    build-depends:+        base >=3,+        A >=0.1 && <0.2,+        B >=0.2 && <0.3,+        C >=0.1 && <0.4     hs-source-dirs: src     other-modules:-        Paths_cabal_bounds+        Paths_setup_config         CabalBounds.Args         CabalBounds.Command         CabalBounds.Execute
tests/goldenFiles/UpdateUpperOfOtherExe.cabal view
@@ -1,49 +1,37 @@-name: cabal-bounds+name: setup-config version: 0.1 cabal-version: >=1.9.2 build-type: Simple license: UnspecifiedLicense maintainer: daniel.trstenjak@gmail.com-synopsis: A command line program for managing the bounds/versions of the dependencies in a cabal file.-description:-    A command line program for managing the bounds/versions of the dependencies in a cabal file.-category: Utils author: Daniel Trstenjak -source-repository head-    type: git-    location: https://github.com/dan-t/cabal-bounds- library-    build-depends:-        base >=3 && <5,-        cmdargs >=0.10.5 && <0.11,-        lens -any,-        pretty-show -any,-        strict -any,-        Cabal -any     exposed-modules:         CabalBounds.Args         CabalBounds.Command         CabalBounds.Execute         CabalBounds.Lenses+    build-depends:+        base >=3,+        A >=0.1 && <0.2,+        B >=0.2 && <0.3,+        C >=0.1 && <0.4     hs-source-dirs: src     other-modules:-        Paths_cabal_bounds+        Paths_setup_config  executable cabal-bounds-    build-depends:-        base >=3 && <5,-        cmdargs >=0.10.5 && <0.11,-        lens -any,-        pretty-show -any,-        strict -any,-        Cabal -any     main-is: ExeMain1.hs+    build-depends:+        base >=3,+        A >=0.1 && <0.2,+        B >=0.2 && <0.3,+        C >=0.1 && <0.4     cpp-options: -DCABAL     hs-source-dirs: src     other-modules:-        Paths_cabal_bounds+        Paths_setup_config         CabalBounds.Args         CabalBounds.Command         CabalBounds.Execute@@ -51,18 +39,16 @@     ghc-options: -W  executable other-exe-    build-depends:-        base >=3 && <5,-        cmdargs >=0.10.5 && <0.11,-        lens <4.8,-        pretty-show <1.7,-        strict <0.4,-        Cabal <1.21     main-is: ExeMain2.hs+    build-depends:+        base >=3,+        A >=0.1 && <0.4,+        B >=0.2 && <0.4,+        C >=0.1 && <0.3     cpp-options: -DCABAL     hs-source-dirs: src     other-modules:-        Paths_cabal_bounds+        Paths_setup_config         CabalBounds.Args         CabalBounds.Command         CabalBounds.Execute@@ -70,36 +56,32 @@     ghc-options: -W  test-suite some-test-    build-depends:-        base >=3 && <5,-        cmdargs >=0.10.5 && <0.11,-        lens -any,-        pretty-show -any,-        strict -any,-        Cabal -any     type: exitcode-stdio-1.0     main-is: TestMain1.hs+    build-depends:+        base >=3,+        A >=0.1 && <0.2,+        B >=0.2 && <0.3,+        C >=0.1 && <0.4     hs-source-dirs: src     other-modules:-        Paths_cabal_bounds+        Paths_setup_config         CabalBounds.Args         CabalBounds.Command         CabalBounds.Execute         CabalBounds.Lenses     ghc-options: -W test-suite other-test-    build-depends:-        base >=3 && <5,-        cmdargs >=0.10.5 && <0.11,-        lens -any,-        pretty-show -any,-        strict -any,-        Cabal -any     type: exitcode-stdio-1.0     main-is: TestMain2.hs+    build-depends:+        base >=3,+        A >=0.1 && <0.2,+        B >=0.2 && <0.3,+        C >=0.1 && <0.4     hs-source-dirs: src     other-modules:-        Paths_cabal_bounds+        Paths_setup_config         CabalBounds.Args         CabalBounds.Command         CabalBounds.Execute
tests/goldenFiles/UpdateUpperOfTest.cabal view
@@ -1,49 +1,37 @@-name: cabal-bounds+name: setup-config version: 0.1 cabal-version: >=1.9.2 build-type: Simple license: UnspecifiedLicense maintainer: daniel.trstenjak@gmail.com-synopsis: A command line program for managing the bounds/versions of the dependencies in a cabal file.-description:-    A command line program for managing the bounds/versions of the dependencies in a cabal file.-category: Utils author: Daniel Trstenjak -source-repository head-    type: git-    location: https://github.com/dan-t/cabal-bounds- library-    build-depends:-        base >=3 && <5,-        cmdargs >=0.10.5 && <0.11,-        lens -any,-        pretty-show -any,-        strict -any,-        Cabal -any     exposed-modules:         CabalBounds.Args         CabalBounds.Command         CabalBounds.Execute         CabalBounds.Lenses+    build-depends:+        base >=3,+        A >=0.1 && <0.2,+        B >=0.2 && <0.3,+        C >=0.1 && <0.4     hs-source-dirs: src     other-modules:-        Paths_cabal_bounds+        Paths_setup_config  executable cabal-bounds-    build-depends:-        base >=3 && <5,-        cmdargs >=0.10.5 && <0.11,-        lens -any,-        pretty-show -any,-        strict -any,-        Cabal -any     main-is: ExeMain1.hs+    build-depends:+        base >=3,+        A >=0.1 && <0.2,+        B >=0.2 && <0.3,+        C >=0.1 && <0.4     cpp-options: -DCABAL     hs-source-dirs: src     other-modules:-        Paths_cabal_bounds+        Paths_setup_config         CabalBounds.Args         CabalBounds.Command         CabalBounds.Execute@@ -51,18 +39,16 @@     ghc-options: -W  executable other-exe-    build-depends:-        base >=3 && <5,-        cmdargs >=0.10.5 && <0.11,-        lens -any,-        pretty-show -any,-        strict -any,-        Cabal -any     main-is: ExeMain2.hs+    build-depends:+        base >=3,+        A >=0.1 && <0.2,+        B >=0.2 && <0.3,+        C >=0.1 && <0.4     cpp-options: -DCABAL     hs-source-dirs: src     other-modules:-        Paths_cabal_bounds+        Paths_setup_config         CabalBounds.Args         CabalBounds.Command         CabalBounds.Execute@@ -70,36 +56,32 @@     ghc-options: -W  test-suite some-test-    build-depends:-        base >=3 && <5,-        cmdargs >=0.10.5 && <0.11,-        lens <4.8,-        pretty-show <1.7,-        strict <0.4,-        Cabal <1.21     type: exitcode-stdio-1.0     main-is: TestMain1.hs+    build-depends:+        base >=3,+        A >=0.1 && <0.4,+        B >=0.2 && <0.4,+        C >=0.1 && <0.3     hs-source-dirs: src     other-modules:-        Paths_cabal_bounds+        Paths_setup_config         CabalBounds.Args         CabalBounds.Command         CabalBounds.Execute         CabalBounds.Lenses     ghc-options: -W test-suite other-test-    build-depends:-        base >=3 && <5,-        cmdargs >=0.10.5 && <0.11,-        lens -any,-        pretty-show -any,-        strict -any,-        Cabal -any     type: exitcode-stdio-1.0     main-is: TestMain2.hs+    build-depends:+        base >=3,+        A >=0.1 && <0.2,+        B >=0.2 && <0.3,+        C >=0.1 && <0.4     hs-source-dirs: src     other-modules:-        Paths_cabal_bounds+        Paths_setup_config         CabalBounds.Args         CabalBounds.Command         CabalBounds.Execute
− tests/goldenFiles/UpdateUpperOnlyBase.cabal
@@ -1,107 +0,0 @@-name: cabal-bounds-version: 0.1-cabal-version: >=1.9.2-build-type: Simple-license: UnspecifiedLicense-maintainer: daniel.trstenjak@gmail.com-synopsis: A command line program for managing the bounds/versions of the dependencies in a cabal file.-description:-    A command line program for managing the bounds/versions of the dependencies in a cabal file.-category: Utils-author: Daniel Trstenjak--source-repository head-    type: git-    location: https://github.com/dan-t/cabal-bounds--library-    build-depends:-        base >=3 && <4.8,-        cmdargs >=0.10.5 && <0.11,-        lens -any,-        pretty-show -any,-        strict -any,-        Cabal -any-    exposed-modules:-        CabalBounds.Args-        CabalBounds.Command-        CabalBounds.Execute-        CabalBounds.Lenses-    hs-source-dirs: src-    other-modules:-        Paths_cabal_bounds--executable cabal-bounds-    build-depends:-        base >=3 && <4.8,-        cmdargs >=0.10.5 && <0.11,-        lens -any,-        pretty-show -any,-        strict -any,-        Cabal -any-    main-is: ExeMain1.hs-    cpp-options: -DCABAL-    hs-source-dirs: src-    other-modules:-        Paths_cabal_bounds-        CabalBounds.Args-        CabalBounds.Command-        CabalBounds.Execute-        CabalBounds.Lenses-    ghc-options: -W--executable other-exe-    build-depends:-        base >=3 && <4.8,-        cmdargs >=0.10.5 && <0.11,-        lens -any,-        pretty-show -any,-        strict -any,-        Cabal -any-    main-is: ExeMain2.hs-    cpp-options: -DCABAL-    hs-source-dirs: src-    other-modules:-        Paths_cabal_bounds-        CabalBounds.Args-        CabalBounds.Command-        CabalBounds.Execute-        CabalBounds.Lenses-    ghc-options: -W--test-suite some-test-    build-depends:-        base >=3 && <4.8,-        cmdargs >=0.10.5 && <0.11,-        lens -any,-        pretty-show -any,-        strict -any,-        Cabal -any-    type: exitcode-stdio-1.0-    main-is: TestMain1.hs-    hs-source-dirs: src-    other-modules:-        Paths_cabal_bounds-        CabalBounds.Args-        CabalBounds.Command-        CabalBounds.Execute-        CabalBounds.Lenses-    ghc-options: -W-test-suite other-test-    build-depends:-        base >=3 && <4.8,-        cmdargs >=0.10.5 && <0.11,-        lens -any,-        pretty-show -any,-        strict -any,-        Cabal -any-    type: exitcode-stdio-1.0-    main-is: TestMain2.hs-    hs-source-dirs: src-    other-modules:-        Paths_cabal_bounds-        CabalBounds.Args-        CabalBounds.Command-        CabalBounds.Execute-        CabalBounds.Lenses-    ghc-options: -W
tests/inputFiles/FromFile.hs view
@@ -1,3 +1,3 @@-[ ("cmdargs", [2,2])-, ("lens", [5])+[ ("A", [2,2])+, ("C", [0,5]) ]
tests/inputFiles/original.cabal view
@@ -1,113 +1,89 @@-name: cabal-bounds+name: setup-config version: 0.1 cabal-version: >=1.9.2 build-type: Simple+license: UnspecifiedLicense maintainer: daniel.trstenjak@gmail.com-synopsis: A command line program for managing the bounds/versions of the dependencies in a cabal file.-description:-    A command line program for managing the bounds/versions of the dependencies in a cabal file.-category: Utils author: Daniel Trstenjak- -source-repository head-    type: git-    location: https://github.com/dan-t/cabal-bounds- + library-    build-depends:-        base >=3 && <5,-        cmdargs >=0.10.5 && <0.11,-        lens -any,-        pretty-show -any,-        strict -any,-        Cabal -any     exposed-modules:         CabalBounds.Args         CabalBounds.Command         CabalBounds.Execute         CabalBounds.Lenses-    exposed: True-    buildable: True+    build-depends:+        base >=3,+        A >=0.1 && <0.2,+        B >=0.2 && <0.3,+        C >=0.1 && <0.4     hs-source-dirs: src     other-modules:-        Paths_cabal_bounds- +        Paths_setup_config+ executable cabal-bounds-    build-depends:-        base >=3 && <5,-        cmdargs >=0.10.5 && <0.11,-        lens -any,-        pretty-show -any,-        strict -any,-        Cabal -any     main-is: ExeMain1.hs-    buildable: True+    build-depends:+        base >=3,+        A >=0.1 && <0.2,+        B >=0.2 && <0.3,+        C >=0.1 && <0.4     cpp-options: -DCABAL     hs-source-dirs: src     other-modules:-        Paths_cabal_bounds+        Paths_setup_config         CabalBounds.Args         CabalBounds.Command         CabalBounds.Execute         CabalBounds.Lenses     ghc-options: -W- + executable other-exe-    build-depends:-        base >=3 && <5,-        cmdargs >=0.10.5 && <0.11,-        lens -any,-        pretty-show -any,-        strict -any,-        Cabal -any     main-is: ExeMain2.hs-    buildable: True+    build-depends:+        base >=3,+        A >=0.1 && <0.2,+        B >=0.2 && <0.3,+        C >=0.1 && <0.4     cpp-options: -DCABAL     hs-source-dirs: src     other-modules:-        Paths_cabal_bounds+        Paths_setup_config         CabalBounds.Args         CabalBounds.Command         CabalBounds.Execute         CabalBounds.Lenses     ghc-options: -W- + test-suite some-test-    build-depends:-        base >=3 && <5,-        cmdargs >=0.10.5 && <0.11,-        lens -any,-        pretty-show -any,-        strict -any,-        Cabal -any     type: exitcode-stdio-1.0     main-is: TestMain1.hs-    buildable: True+    build-depends:+        base >=3,+        A >=0.1 && <0.2,+        B >=0.2 && <0.3,+        C >=0.1 && <0.4     hs-source-dirs: src     other-modules:-        Paths_cabal_bounds+        Paths_setup_config         CabalBounds.Args         CabalBounds.Command         CabalBounds.Execute         CabalBounds.Lenses     ghc-options: -W test-suite other-test-    build-depends:-        base >=3 && <5,-        cmdargs >=0.10.5 && <0.11,-        lens -any,-        pretty-show -any,-        strict -any,-        Cabal -any     type: exitcode-stdio-1.0     main-is: TestMain2.hs-    buildable: True+    build-depends:+        base >=3,+        A >=0.1 && <0.2,+        B >=0.2 && <0.3,+        C >=0.1 && <0.4     hs-source-dirs: src     other-modules:-        Paths_cabal_bounds+        Paths_setup_config         CabalBounds.Args         CabalBounds.Command         CabalBounds.Execute         CabalBounds.Lenses     ghc-options: -W- 
tests/inputFiles/setup-config-build-env/setup-config.cabal view
@@ -1,105 +1,89 @@-name: cabal-bounds+name: setup-config version: 0.1 cabal-version: >=1.9.2 build-type: Simple+license: UnspecifiedLicense maintainer: daniel.trstenjak@gmail.com author: Daniel Trstenjak- + library-    build-depends:-        base >=3 && <5,-        cmdargs ==0.10.7,-        lens ==4.7,-        pretty-show ==1.6.7,-        strict ==0.3.2,-        Cabal ==1.20.0.1     exposed-modules:         CabalBounds.Args         CabalBounds.Command         CabalBounds.Execute         CabalBounds.Lenses-    exposed: True-    buildable: True+    build-depends:+        base >=3,+        A ==0.3,+        B ==0.3.0.1,+        C ==0.2.5     hs-source-dirs: src     other-modules:-        Paths_cabal_bounds- +        Paths_setup_config+ executable cabal-bounds-    build-depends:-        base >=3 && <5,-        cmdargs ==0.10.7,-        lens ==4.7,-        pretty-show ==1.6.7,-        strict ==0.3.2,-        Cabal ==1.20.0.1     main-is: ExeMain1.hs-    buildable: True+    build-depends:+        base >=3,+        A ==0.3,+        B ==0.3.0.1,+        C ==0.2.5     cpp-options: -DCABAL     hs-source-dirs: src     other-modules:-        Paths_cabal_bounds+        Paths_setup_config         CabalBounds.Args         CabalBounds.Command         CabalBounds.Execute         CabalBounds.Lenses     ghc-options: -W- + executable other-exe-    build-depends:-        base >=3 && <5,-        cmdargs ==0.10.7,-        lens ==4.7,-        pretty-show ==1.6.7,-        strict ==0.3.2,-        Cabal ==1.20.0.1     main-is: ExeMain2.hs-    buildable: True+    build-depends:+        base >=3,+        A ==0.3,+        B ==0.3.0.1,+        C ==0.2.5     cpp-options: -DCABAL     hs-source-dirs: src     other-modules:-        Paths_cabal_bounds+        Paths_setup_config         CabalBounds.Args         CabalBounds.Command         CabalBounds.Execute         CabalBounds.Lenses     ghc-options: -W- + test-suite some-test-    build-depends:-        base >=3 && <5,-        cmdargs ==0.10.7,-        lens ==4.7,-        pretty-show ==1.6.7,-        strict ==0.3.2,-        Cabal ==1.20.0.1     type: exitcode-stdio-1.0     main-is: TestMain1.hs-    buildable: True+    build-depends:+        base >=3,+        A ==0.3,+        B ==0.3.0.1,+        C ==0.2.5     hs-source-dirs: src     other-modules:-        Paths_cabal_bounds+        Paths_setup_config         CabalBounds.Args         CabalBounds.Command         CabalBounds.Execute         CabalBounds.Lenses     ghc-options: -W test-suite other-test-    build-depends:-        base >=3 && <5,-        cmdargs ==0.10.7,-        lens ==4.7,-        pretty-show ==1.6.7,-        strict ==0.3.2,-        Cabal ==1.20.0.1     type: exitcode-stdio-1.0     main-is: TestMain2.hs-    buildable: True+    build-depends:+        base >=3,+        A ==0.3,+        B ==0.3.0.1,+        C ==0.2.5     hs-source-dirs: src     other-modules:-        Paths_cabal_bounds+        Paths_setup_config         CabalBounds.Args         CabalBounds.Command         CabalBounds.Execute         CabalBounds.Lenses     ghc-options: -W-