aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIgor Pashev <pashev.igor@gmail.com>2017-06-24 12:39:13 +0300
committerIgor Pashev <pashev.igor@gmail.com>2017-06-24 12:39:13 +0300
commit2ed435c73d0bc80a6b0d9d16a9fd0e9a0b464ed2 (patch)
tree18844cdc5ece504cc941ace60aa06ed70edbdbc2
parentb36973b3e08e6d1f8a7d42a6984249486d0cebfe (diff)
downloadmolodivo-2ed435c73d0bc80a6b0d9d16a9fd0e9a0b464ed2.tar.gz
Remove `cmd` flag
-rw-r--r--malodivo.cabal23
1 files changed, 8 insertions, 15 deletions
diff --git a/malodivo.cabal b/malodivo.cabal
index 31047be..3719c92 100644
--- a/malodivo.cabal
+++ b/malodivo.cabal
@@ -34,10 +34,6 @@ test-suite doctests
hs-source-dirs: test
default-language: Haskell2010
-flag cmd
- description: Build the command-line utility.
- default: True
-
library
default-language: Haskell2010
ghc-options: -Wall
@@ -59,15 +55,12 @@ executable malodivo
ghc-options: -Wall -static
hs-source-dirs: cmd
main-is: Main.hs
- if flag(cmd)
- build-depends:
- base >= 4.9 && < 5
- , aeson
- , bytestring
- , docopt
- , interpolatedstring-perl6
- , malodivo
- , unordered-containers
- else
- buildable: False
+ build-depends:
+ base >= 4.9 && < 5
+ , aeson
+ , bytestring
+ , docopt
+ , interpolatedstring-perl6
+ , malodivo
+ , unordered-containers