Browse Source

fixing small configuration stuff

tags/v0.4.1
suppi 4 years ago
parent
commit
0d6c7e560f
2 changed files with 8 additions and 5 deletions
  1. +2
    -0
      Setup.hs
  2. +6
    -5
      hablog.cabal

+ 2
- 0
Setup.hs View File

@@ -0,0 +1,2 @@
import Distribution.Simple
main = defaultMain

+ 6
- 5
hablog.cabal View File

@@ -3,6 +3,7 @@ Version: 0.4.0
Synopsis: A blog system
Description: blog system with tags
License: MIT
license-file: LICENSE
Author: Gil Mizrahi
Maintainer: soupiral@gmail.com
Stability: Experimental
@@ -22,7 +23,7 @@ source-repository head

library
Build-depends:
base
base >=4.7 && <5
,scotty
,scotty-tls >= 0.4
,blaze-html
@@ -67,9 +68,9 @@ library
if impl(ghc >= 6.12.0)
other-extensions:
FlexibleInstances
ghc-options: -threaded -Wall -fwarn-tabs -funbox-strict-fields -O2
ghc-options: -Wall -fwarn-tabs -funbox-strict-fields
else
ghc-options: -threaded -Wall -fwarn-tabs -funbox-strict-fields -O2
ghc-options: -Wall -fwarn-tabs -funbox-strict-fields

Executable hablog
hs-source-dirs: app
@@ -85,6 +86,6 @@ Executable hablog
if impl(ghc >= 6.12.0)
other-extensions:
FlexibleInstances
ghc-options: -threaded -Wall -fwarn-tabs -funbox-strict-fields -O2
ghc-options: -threaded -Wall -fwarn-tabs -funbox-strict-fields
else
ghc-options: -threaded -Wall -fwarn-tabs -funbox-strict-fields -O2
ghc-options: -threaded -Wall -fwarn-tabs -funbox-strict-fields

Loading…
Cancel
Save