Browse Source

cabal settings

Jérôme Mahuet 9 years ago
parent
commit
2db511273b
2 changed files with 8 additions and 6 deletions
  1. 6 5
      frameworks/Haskell/spock/spock.cabal
  2. 2 1
      frameworks/Haskell/spock/src/Main.hs

+ 6 - 5
frameworks/Haskell/spock/spock.cabal

@@ -1,13 +1,13 @@
 name:                spock
 version:             0.1.0.0
-synopsis:            Initial project template from stack
+synopsis:            Spock - TechEmpower benchmark
 description:         Please see README.md
-homepage:            http://github.com/githubuser/spock#readme
+homepage:            http://spock.li
 license:             BSD3
 license-file:        LICENSE
-author:              Author name here
-maintainer:          example@example.com
-copyright:           2016 Author Here
+author:              Jérôme Mahuet
+maintainer:          jerome.mahuet@gmail.com
+copyright:           2016 Jérôme Mahuet
 category:            Web
 build-type:          Simple
 -- extra-source-files:
@@ -33,6 +33,7 @@ executable spock-exe
                      , blaze-markup
   other-modules:       Models.Fortune
                      , Models.World
+                     , Views.Fortune
   default-language:    Haskell2010
 
 source-repository head

+ 2 - 1
frameworks/Haskell/spock/src/Main.hs

@@ -28,7 +28,8 @@ creds =
         , PG.connectPort     = 5432
         , PG.connectUser     = "benchmarkdbuser"
         , PG.connectPassword = "benchmarkdbpass"
-        , PG.connectDatabase = "hello_world" }
+        , PG.connectDatabase = "hello_world"
+        }
 
 
 poolCfg :: PoolCfg