packages feed

include-file-0.1.0.4: include-file.cabal

name:                include-file
version:             0.1.0.4
synopsis:            Inclusion of files in executables at compile-time.
description:         Inclusion of files in source code via Template Haskell.
                     .
                     When distributing executables, sometimes it is required
                     to attach some other resources in files. Using this library
                     (together with the TemplateHaskell extension) you avoid this
                     problem by including those files inside the executable at
                     compile time.
license:             BSD3
license-file:        LICENSE
author:              Daniel Díaz
maintainer:          dhelta.diaz@gmail.com
bug-reports:         https://github.com/Daniel-Diaz/include-file/issues
category:            Development
build-type:          Custom
cabal-version:       >= 1.10

custom-setup
  setup-depends: base == 4.*
               , bytestring
               , random
               , Cabal

library
  exposed-modules: Development.IncludeFile
  build-depends: base == 4.*
               , bytestring
               , template-haskell
               , random
  default-language: Haskell2010
  ghc-options: -Wall

test-suite include-file-test
  default-language: Haskell2010
  type: exitcode-stdio-1.0
  hs-source-dirs: test
  main-is: Main.hs
  build-depends: base == 4.*
               , include-file
               , bytestring
  ghc-options: -fforce-recomp

benchmark include-file-bench
  default-language: Haskell2010
  type: exitcode-stdio-1.0
  hs-source-dirs: bench
  main-is: Main.hs
  build-depends: base == 4.*
               , include-file
               , bytestring
               , criterion
  ghc-options: -fforce-recomp -O2 -Wall