packages feed

castle 0.1.0.0 → 0.1.0.1

raw patch · 3 files changed

+6/−45 lines, 3 filesdep −QuickCheckdep −configuratordep −errorsdep ~basedep ~optparse-applicative

Dependencies removed: QuickCheck, configurator, errors, hspec, lens, tasty, tasty-golden, tasty-hspec, tasty-quickcheck

Dependency ranges changed: base, optparse-applicative

Files

Castle.hs view
@@ -156,13 +156,13 @@ pinfo p desc imod = info (helper <*> p) (fullDesc <> progDesc desc <> imod)  textOption :: Mod OptionFields T.Text -> Parser T.Text-textOption fields = nullOption (reader (pure . T.pack) <> fields)+textOption fields = option (T.pack <$> str) fields  fileOption :: Mod OptionFields FilePath -> Parser FilePath-fileOption fields = nullOption (reader (pure . decodeString) <> fields)+fileOption fields = option (decodeString <$> str) fields  textArg :: String -> String -> Parser T.Text-textArg meta helpText = argument (Just . T.pack) (metavar meta <> help helpText)+textArg meta helpText = argument (T.pack <$> str) (metavar meta <> help helpText)  castleNameArg :: String -> Parser T.Text castleNameArg = textArg "CASTLE_NAME"
castle.cabal view
@@ -2,7 +2,7 @@ -- documentation, see http://haskell.org/cabal/users-guide/  name:                castle-version:             0.1.0.0+version:             0.1.0.1 synopsis:            A tool to manage shared cabal-install sandboxes. description:   I really like having sandboxes baked into cabal-install.@@ -38,32 +38,15 @@   main-is:             Castle.hs   -- other-modules:          -- other-extensions:    -  build-depends:       base >=4.6 && <4.7+  build-depends:       base >=4.6 && <5                      -- , cabal-install >=1.18.0                      , shelly-                     , errors                      , system-filepath                      , system-fileio-                     , lens-                     , configurator-                     , optparse-applicative+                     , optparse-applicative >=0.10 && <0.12                      , text                      , containers   -- hs-source-dirs:      -  default-language:    Haskell2010--test-suite castle-specs-  type:                exitcode-stdio-1.0-  ghc-options:         -threaded -rtsopts-  hs-source-dirs:      specs-  main-is:             Specs.hs-  build-depends:         base       == 4.6.*-                       , tasty-                       , tasty-golden-                       , tasty-quickcheck-                       , tasty-hspec-                       , hspec-                       , QuickCheck   default-language:    Haskell2010  source-repository this
− specs/Specs.hs
@@ -1,22 +0,0 @@---module Main where---import Test.Tasty--- import Test.Tasty.QuickCheck as QC--- import Test.Tasty.HUnit as HU--- import Test.Tasty.Golden as TG-import Test.Tasty.Hspec---specs :: Spec-specs = undefined--tests :: TestTree-tests = testGroup "main"-    [ testCase "something" specs-    ]--main = defaultMain tests-