Sfoglia il codice sorgente

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

Getty Ritter 8 anni fa
parent
commit
2ba5c5144e
1 ha cambiato i file con 2 aggiunte e 3 eliminazioni
  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,