ソースを参照

Changed how the flag worked---this worked locally but not remotely

Getty Ritter 8 年 前
コミット
2ba5c5144e
1 ファイル変更2 行追加3 行削除
  1. 2 3
      s-cargot.cabal

+ 2 - 3
s-cargot.cabal

@@ -48,10 +48,9 @@ library
   ghc-options:         -Wall
 
 executable example
-  if flag(build-example)
-    main-is:           example.hs
-  else
+  if !flag(build-example)
     buildable:         False
+  main-is:           example.hs
   hs-source-dirs:      example
   build-depends:       base        >=4.7 && <5,
                        containers  >=0.5 && <1,