archive-sig 0.2.1.0 → 0.2.1.1
raw patch · 3 files changed
+9/−3 lines, 3 filesPVP ok
version bump matches the API change (PVP)
API changes (from Hackage documentation)
Files
- CHANGELOG.md +4/−0
- archive-sig.cabal +1/−1
- src/Archive/Compression.hs +4/−2
CHANGELOG.md view
@@ -1,3 +1,7 @@+# 0.2.1.1+ + * Improved documentation+ # 0.2.1.0 * Add `packSrcDirAndCompress`
archive-sig.cabal view
@@ -1,6 +1,6 @@ cabal-version: 2.0 name: archive-sig-version: 0.2.1.0+version: 0.2.1.1 license: BSD3 license-file: LICENSE copyright: Copyright: (c) 2019 Vanessa McHale
src/Archive/Compression.hs view
@@ -21,7 +21,10 @@ unpackFileToDirAndDecompress f tar dir = unpackToDir dir =<< (f <$> BSL.readFile tar) -- | @since 0.2.0.0-packFromDirAndCompress :: Compressor -> FilePath -> FilePath -> IO ()+packFromDirAndCompress :: Compressor+ -> FilePath -- ^ Directory to pack up+ -> FilePath -- ^ Destination tarball+ -> IO () packFromDirAndCompress f dir tar = packFromFilesAndCompress f tar =<< getDirRecursive dir -- | Pack up source files, ignoring version control directories and common@@ -45,7 +48,6 @@ srcFilter ".vagrant" = False srcFilter _ = False --- | @since 0.2.0.0 -- | @since 0.2.0.0 packFromFilesAndCompress :: Compressor -> FilePath -> [FilePath] -> IO () packFromFilesAndCompress f tar fps = BSL.writeFile tar =<< (f <$> packFiles fps)