Changed how the flag worked---this worked locally but not remotely
Getty Ritter
9 years ago
| 48 | 48 |
ghc-options: -Wall
|
| 49 | 49 |
|
| 50 | 50 |
executable example
|
| 51 | |
if flag(build-example)
|
| 52 | |
main-is: example.hs
|
| 53 | |
else
|
| 51 |
if !flag(build-example)
|
| 54 | 52 |
buildable: False
|
| 53 |
main-is: example.hs
|
| 55 | 54 |
hs-source-dirs: example
|
| 56 | 55 |
build-depends: base >=4.7 && <5,
|
| 57 | 56 |
containers >=0.5 && <1,
|