Source

evernote-haskell-bindings / test / evernote-tests.cabal

Full commit
Name:                evernote-tests
Version:             0.1
Synopsis:            Tests for evernote package

License:             BSD3
License-file:        LICENSE

Author:              Maxim Moiseev <maxim.moiseev@gmail.com>
Maintainer:          Maxim Moiseev <maxim.moiseev@gmail.com>

Category:            Testing
Build-type:          Simple

Cabal-version:       >=1.2

Flag buildDemo
    description:    Build a demo app instead of test suite
    -- defaulting to True since unit tests are now handled by the main cabal
    default:        True 

Executable evernote-tests
  If flag(buildDemo)
    Main-is:            SampleWorkflowTest.hs
  Else
    Main-is:            EvernoteTests.hs
  
  Build-depends:       
                      base >= 3
                    , network
                    , containers
                    , bytestring
                    , binary
                    , thrift == 0.6.0
                    , text
                    , blaze-html >= 0.5.0.0
                    , blaze-builder >= 0.3.1.0
                    , xmlhtml >= 0.1.6
                    , utf8-string >=0.3
                    , HUnit >= 1.2.4.2
                    , test-framework
                    , test-framework-hunit
  
  Hs-Source-Dirs:
                    ., ../src/Evernote/Thrift, ../src