Source

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

Diff from to

File test/evernote-tests.cabal

 Name:                evernote-tests
 Version:             0.1
-
 Synopsis:            Tests for evernote package
 
 License:             BSD3
 License-file:        LICENSE
 
-Author:              Maxim Moiseev
-Maintainer:          maxim.moiseev@gmail.com
+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
+    default:        False
 
 Executable evernote-tests
-  Main-is:            EvernoteTests.hs
---  Main-is:            SampleWorkflowTest.hs
+  If flag(buildDemo)
+    Main-is:            SampleWorkflowTest.hs
+  Else
+    Main-is:            EvernoteTests.hs
   
   Build-depends:       
                       base >= 3