Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tidy up #37

Merged
merged 1 commit into from
Dec 30, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
96 changes: 45 additions & 51 deletions hw-packed-vector.cabal
Original file line number Diff line number Diff line change
Expand Up @@ -51,77 +51,71 @@ common hw-packed-vector
build-depends: hw-packed-vector

library
import: base, config
, bytestring
, deepseq
, hw-bits
, hw-prim
, vector
exposed-modules:
HaskellWorks.Data.PackedVector
HaskellWorks.Data.PackedVector.Internal
HaskellWorks.Data.PackedVector.IO
HaskellWorks.Data.PackedVector.PackedVector64
other-modules: Paths_hw_packed_vector
autogen-modules: Paths_hw_packed_vector
hs-source-dirs: src
import: base, config
, bytestring
, deepseq
, hw-bits
, hw-prim
, vector
exposed-modules: HaskellWorks.Data.PackedVector
HaskellWorks.Data.PackedVector.Internal
HaskellWorks.Data.PackedVector.IO
HaskellWorks.Data.PackedVector.PackedVector64
other-modules: Paths_hw_packed_vector
autogen-modules: Paths_hw_packed_vector
hs-source-dirs: src

executable hw-packed-vector
import: base, config
, binary
, bytestring
, generic-lens
, hw-bits
, hw-prim
, lens
, optparse-applicative
, semigroups
, vector
import: base, config
, binary
, bytestring
, generic-lens
, hw-bits
, hw-prim
, lens
, optparse-applicative
, semigroups
, vector
main-is: Main.hs
hs-source-dirs: app
ghc-options: -threaded -rtsopts -with-rtsopts=-N -O2
build-depends: hw-packed-vector
other-modules:
App.Commands
App.Commands.CreateIndex
App.Commands.Types
other-modules: App.Commands
App.Commands.CreateIndex
App.Commands.Types

test-suite hw-packed-vector-test
import: base, config
, bytestring
, hedgehog
, hspec
, hw-bits
, hw-hedgehog
, hw-hspec-hedgehog
, hw-prim
, vector
import: base, config
, bytestring
, hedgehog
, hspec
, hw-bits
, hw-hedgehog
, hw-hspec-hedgehog
, hw-prim
, vector
type: exitcode-stdio-1.0
main-is: Spec.hs
other-modules:
HaskellWorks.Data.PackedVector.InternalSpec
HaskellWorks.Data.PackedVector.PackedVector64Spec
HaskellWorks.Gen
Paths_hw_packed_vector
other-modules: HaskellWorks.Data.PackedVector.InternalSpec
HaskellWorks.Data.PackedVector.PackedVector64Spec
HaskellWorks.Gen
hs-source-dirs: test
ghc-options: -threaded -rtsopts -with-rtsopts=-N
build-depends: hw-packed-vector
build-tool-depends: hspec-discover:hspec-discover

benchmark bench
import: base, config
, criterion
, directory
, hedgehog
, hspec
, hw-prim
, vector
import: base, config
, criterion
, directory
, hedgehog
, hspec
, hw-prim
, vector
type: exitcode-stdio-1.0
main-is: Main.hs
hs-source-dirs: bench
other-modules: Paths_hw_packed_vector
build-depends: hw-packed-vector
autogen-modules: Paths_hw_packed_vector

test-suite doctest
import: base, config
Expand Down
2 changes: 1 addition & 1 deletion test/HaskellWorks/Data/PackedVector/InternalSpec.hs
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import qualified HaskellWorks.Gen as G
import qualified Hedgehog.Gen as G
import qualified Hedgehog.Range as R

{-# ANN module ("HLint: Ignore Redundant do" :: String) #-}
{-# ANN module ("HLint: ignore Redundant do" :: String) #-}

spec :: Spec
spec = describe "HaskellWorks.Data.PackedVector.InternalSpec" $ do
Expand Down
2 changes: 1 addition & 1 deletion test/HaskellWorks/Data/PackedVector/PackedVector64Spec.hs
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ import qualified HaskellWorks.Gen as G
import qualified Hedgehog.Gen as G
import qualified Hedgehog.Range as R

{-# ANN module ("HLint: Ignore Redundant do" :: String) #-}
{-# ANN module ("HLint: ignore Redundant do" :: String) #-}

spec :: Spec
spec = describe "HaskellWorks.Data.PackedVector.PackedVector64Spec" $ do
Expand Down