packages feed

bond-haskell-compiler-0.1.0.0: bond-haskell-compiler.cabal

name:                bond-haskell-compiler
version:             0.1.0.0
synopsis:            Bond code generator for Haskell
description:         Bond is a cross-platform framework for handling schematized
                     data. It supports cross-language de/serialization and
                     powerful generic mechanisms for efficiently manipulating
                     data.
                     .
                     The package contains a command-line compiler/codegen
                     tool, named hbc, which is used to generate code for Haskell
                     programs using Bond.
homepage:            http://github.com/rblaze/bond-haskell-compiler#readme
license:             BSD3
license-file:        LICENSE
author:              blaze@ruddy.ru
maintainer:          Andrey Sverdlichenko
copyright:           (C) 2015 Andrey Sverdlichenko
category:            Language
build-type:          Simple
-- extra-source-files:
cabal-version:       >=1.10

library
  hs-source-dirs:      src
  exposed-modules:     Language.Bond.Codegen.Haskell.Decl
                       Language.Bond.Codegen.Haskell.EnumDecl
                       Language.Bond.Codegen.Haskell.SchemaDecl
                       Language.Bond.Codegen.Haskell.StructDecl
                       Language.Bond.Codegen.Haskell.Util
  ghc-options:         -W -Wall
  build-depends:       base >= 4.7 && < 5
                     , bond == 0.4.0.1
                     , filepath >= 1.0
                     , haskell-src-exts >= 1.16
  default-language:    Haskell2010

executable hbc
  hs-source-dirs:      app
  main-is:             Main.hs
  ghc-options:         -threaded -rtsopts -with-rtsopts=-N -W -Wall
  build-depends:       base
                     , aeson >= 0.7.0.6 && < 0.10.0.0
                     , bond == 0.4.0.1
                     , bond-haskell-compiler
                     , bytestring >= 0.10
                     , cmdargs >= 0.10.10
                     , directory >= 1.1
                     , filepath >= 1.0
                     , monad-loops >= 0.4
  default-language:    Haskell2010
  other-modules:       IO
                       Options
                       Paths_bond_haskell_compiler

test-suite bond-haskell-compiler-test
  type:                exitcode-stdio-1.0
  hs-source-dirs:      test
  main-is:             Spec.hs
  build-depends:       base
  ghc-options:         -threaded -rtsopts -with-rtsopts=-N -W -Wall
  default-language:    Haskell2010

source-repository head
  type:     git
  location: https://github.com/rblaze/bond-haskell.git