hunt-server (empty) → 0.3.0.0
raw patch · 4 files changed
+139/−0 lines, 4 filesdep +aesondep +aeson-prettydep +basesetup-changed
Dependencies added: aeson, aeson-pretty, base, binary, blaze-html, blaze-markup, bytestring, cmdargs, containers, data-default, deepseq, ekg-core, ekg-statsd, hamlet, hslogger, http-types, hunt-searchengine, mtl, scotty, shakespeare-js, text, wai, wai-extra, wai-middleware-static, warp
Files
- LICENSE +22/−0
- Setup.lhs +8/−0
- hunt-server.cabal +89/−0
- src/Main.hs +20/−0
+ LICENSE view
@@ -0,0 +1,22 @@+The MIT License (MIT)++Copyright (c) 2007 Timo B. Hübel, Sebastian M. Schlatt,+ 2014 Chris Reumann, Ulf Sauer++Permission is hereby granted, free of charge, to any person obtaining a copy+of this software and associated documentation files (the "Software"), to deal+in the Software without restriction, including without limitation the rights+to use, copy, modify, merge, publish, distribute, sublicense, and/or sell+copies of the Software, and to permit persons to whom the Software is+furnished to do so, subject to the following conditions:++The above copyright notice and this permission notice shall be included in all+copies or substantial portions of the Software.++THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE+AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER+LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,+OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE+SOFTWARE.
+ Setup.lhs view
@@ -0,0 +1,8 @@+#!/usr/bin/runhaskell++> module Main where++> import Distribution.Simple++> main :: IO ()+> main = defaultMain
+ hunt-server.cabal view
@@ -0,0 +1,89 @@+name: hunt-server+version: 0.3.0.0+license: MIT+license-file: LICENSE+author: Chris Reumann, Ulf Sauer, Sebastian Philipp+copyright: Chris Reumann, Ulf Sauer, Sebastian Philipp+maintainer: Chris Reumann, Ulf Sauer, Sebastian Philipp+stability: experimental+category: Text, Data+synopsis: A search and indexing engine server.+homepage: http://github.com/hunt-framework+description: Standalone search server based on the Hunt searchengine.+cabal-version: >=1.6+build-type: Simple++-- extra-source-files:+-- README++-- enable with cabal install -fstatsD+flag statsD+ default: False+ manual: True++source-repository head+ type: git+ location: https://github.com/hunt-framework/hunt.git++executable hunt-server+ main-is: Main.hs++ other-modules:++ build-depends: base >= 4 && <= 5+ , binary+ , bytestring >= 0.9.1 && < 1+ , data-default+ , aeson >= 0.6+ , aeson-pretty+ , blaze-html+ , blaze-markup+ , containers >= 0.5+ , deepseq >= 1.2+ , hamlet >= 1.1.7.1 && < 1.2+ , hunt-searchengine >= 0.3+ , hslogger >= 1 && < 2+ , http-types >= 0.8.0+ , mtl >= 1.1 && < 3+ , text >= 1 && < 1.2+ , scotty >= 0.6 && < 1+ , shakespeare-js >= 1.1.4 && < 1.3+ , wai >= 2.0 && < 3.1+ , wai-extra >= 2.0.1 && < 3.1+ , wai-middleware-static >= 0.4 && < 0.7+ , warp >= 2.1.1 && < 3.1+ , cmdargs >= 0.10 && < 1+ , ekg-core++ hs-source-dirs: src++ ghc-options: -threaded+ -Wall+ -funbox-strict-fields+ -eventlog++++ if flag(statsD)+ build-depends: ekg-statsd+ ghc-options: "-with-rtsopts=-N -c -s -I3 -H -T"+ cpp-options: -DSUPPORT_STATSD+ else+ ghc-options: "-with-rtsopts=-N -c -s -I3 -H"++ if impl( ghc >= 7 )+ ghc-options: -rtsopts+ -fwarn-tabs++ extensions: MultiParamTypeClasses+ FlexibleContexts+ FlexibleInstances+ GeneralizedNewtypeDeriving+ TypeSynonymInstances+ OverloadedStrings+ TemplateHaskell+ QuasiQuotes+ RankNTypes+ TypeFamilies+ ConstraintKinds+ NoMonoLocalBinds
+ src/Main.hs view
@@ -0,0 +1,20 @@+-- ----------------------------------------------------------------------------+{- |+ Main module for the executable.+-}+-- ----------------------------------------------------------------------------++module Main where++import Data.Default++import Hunt.Server (start)+import System.Console.CmdArgs (cmdArgs)++-- ------------------------------------------------------------++-- | Main function for the executable.+main :: IO ()+main = cmdArgs def >>= start++-- ------------------------------------------------------------