hw-tar (empty) → 0.0.0.1
raw patch · 8 files changed
+122/−0 lines, 8 filesdep +basedep +hedgehogdep +hspecsetup-changed
Dependencies added: base, hedgehog, hspec, hw-hedgehog, hw-hspec-hedgehog, hw-tar, process
Files
- CHANGELOG.md +5/−0
- LICENSE +30/−0
- Setup.hs +2/−0
- app/Main.hs +4/−0
- hw-tar.cabal +58/−0
- src/HaskellWorks/Tar.hs +3/−0
- test/HaskellWorks/Tar/TarSpec.hs +19/−0
- test/Spec.hs +1/−0
+ CHANGELOG.md view
@@ -0,0 +1,5 @@+# Revision history for hw-tar++## 0.1.0.0 -- YYYY-mm-dd++* First version. Released on an unsuspecting world.
+ LICENSE view
@@ -0,0 +1,30 @@+Copyright (c) 2019, John Ky++All rights reserved.++Redistribution and use in source and binary forms, with or without+modification, are permitted provided that the following conditions are met:++ * Redistributions of source code must retain the above copyright+ notice, this list of conditions and the following disclaimer.++ * Redistributions in binary form must reproduce the above+ copyright notice, this list of conditions and the following+ disclaimer in the documentation and/or other materials provided+ with the distribution.++ * Neither the name of John Ky nor the names of other+ contributors may be used to endorse or promote products derived+ from this software without specific prior written permission.++THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS+"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT+LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR+A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT+OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,+SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT+LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,+DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY+THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT+(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE+OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ Setup.hs view
@@ -0,0 +1,2 @@+import Distribution.Simple+main = defaultMain
+ app/Main.hs view
@@ -0,0 +1,4 @@+module Main where++main :: IO ()+main = putStrLn "Hello, Haskell!"
+ hw-tar.cabal view
@@ -0,0 +1,58 @@+cabal-version: 2.4++name: hw-tar+version: 0.0.0.1+synopsis: Library for creating and extracting tar archives+description: Library for creating and extracting tar archives.+homepage: https://github.com/haskell-works/hw-tar+license: BSD-3-Clause+license-file: LICENSE+author: John Ky+maintainer: newhoggy@gmail.com+copyright: 2016 - 2019 John Ky+category: Codec+tested-with: GHC == 8.10.4, GHC == 8.8.3, GHC == 8.6.5, GHC == 8.4.4+extra-source-files: CHANGELOG.md++source-repository head+ type: git+ location: https://github.com/haskell-works/hw-tar++common base { build-depends: base >= 4.7 && < 5 }++common hedgehog { build-depends: hedgehog >= 1.0 && < 1.1 }+common hspec { build-depends: hspec >= 2.4 && < 3 }+common hw-hedgehog { build-depends: hw-hedgehog >= 0.1.0.3 && < 0.2 }+common hw-hspec-hedgehog { build-depends: hw-hspec-hedgehog >= 0.1.0.4 && < 0.2 }+common process { build-depends: process >= 1.6.5.0 && < 1.7 }++common config+ default-language: Haskell2010++library+ import: base, config+ exposed-modules: HaskellWorks.Tar+ hs-source-dirs: src+ default-language: Haskell2010++executable hw-tar+ import: base, config+ main-is: Main.hs+ build-depends: hw-tar+ hs-source-dirs: app+ default-language: Haskell2010++test-suite hw-tar-test+ import: base, config+ , hedgehog+ , hspec+ , hw-hedgehog+ , hw-hspec-hedgehog+ , process+ type: exitcode-stdio-1.0+ ghc-options: -threaded -rtsopts -with-rtsopts=-N+ main-is: Spec.hs+ build-depends: hw-tar+ hs-source-dirs: test+ build-tool-depends: hspec-discover:hspec-discover+ other-modules: HaskellWorks.Tar.TarSpec
+ src/HaskellWorks/Tar.hs view
@@ -0,0 +1,3 @@+module HaskellWorks.Tar+ (+ ) where
+ test/HaskellWorks/Tar/TarSpec.hs view
@@ -0,0 +1,19 @@+{-# LANGUAGE DataKinds #-}+{-# LANGUAGE OverloadedStrings #-}++module HaskellWorks.Tar.TarSpec+ ( spec+ ) where++import HaskellWorks.Hspec.Hedgehog+import Hedgehog+import Test.Hspec++{-# ANN module ("HLint: ignore Redundant do" :: String) #-}+{-# ANN module ("HLint: ignore Reduce duplication" :: String) #-}+{-# ANN module ("HLint: ignore Redundant bracket" :: String) #-}++spec :: Spec+spec = describe "HaskellWorks.Tar.TarSpec" $ do+ it "create" $ requireTest $ do+ True === True
+ test/Spec.hs view
@@ -0,0 +1,1 @@+{-# OPTIONS_GHC -F -pgmF hspec-discover #-}