From 2ed435c73d0bc80a6b0d9d16a9fd0e9a0b464ed2 Mon Sep 17 00:00:00 2001 From: Igor Pashev Date: Sat, 24 Jun 2017 12:39:13 +0300 Subject: Remove `cmd` flag --- malodivo.cabal | 23 ++++++++--------------- 1 file 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 -- cgit v1.2.3