language-dockerfile 0.3.1.0 → 0.3.2.0
raw patch · 2 files changed
+3/−2 lines, 2 filesPVP ok
version bump matches the API change (PVP)
API changes (from Hackage documentation)
Files
language-dockerfile.cabal view
@@ -3,7 +3,7 @@ -- see: https://github.com/sol/hpack name: language-dockerfile-version: 0.3.1.0+version: 0.3.2.0 synopsis: Dockerfile linter, parser, pretty-printer and embedded DSL description: Forked from @hadolint@. .
test/Language/Dockerfile/EDSLSpec.hs view
@@ -2,6 +2,7 @@ module Language.Dockerfile.EDSLSpec where import Control.Monad.IO.Class+import Data.List (sort) import Language.Dockerfile.EDSL import Language.Dockerfile.PrettyPrint import qualified Language.Dockerfile.Syntax as Syntax@@ -52,7 +53,7 @@ fs <- liftIO $ do cwd <- getCurrentDirectory fs <- glob "./test/*.hs"- return (map (makeRelative cwd) fs)+ return (map (makeRelative cwd) (sort fs)) from "ubuntu" mapM_ (\f -> add f ("/app/" ++ takeFileName f)) fs str `shouldBe` unlines [ "FROM ubuntu"