Make the package compatible with cabal-install

master
rnhmjoj 2015-04-09 17:10:55 +02:00
parent a2ea5974a6
commit c0f0451bd0
2 changed files with 9 additions and 2 deletions

2
Setup.hs Normal file
View File

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

View File

@ -1,5 +1,5 @@
name: breve
version: 0.0.1.0
version: 0.0.2.0
synopsis: a url shortener
description:
@ -15,6 +15,7 @@ copyright: (C) Michele Guerini Rocco 2015
category: Web
build-type: Simple
extra-source-files: README.md, LICENSE
data-files: layouts/*.css, layouts/*.html, views/*.html
cabal-version: >=1.10
source-repository head
@ -23,8 +24,12 @@ source-repository head
executable breve
main-is: Main.hs
hs-source-dirs: src
default-language: Haskell2010
build-depends: base, simple >= 0.8.0,
other-modules: Application, Breve.Common,
Breve.Generator, Breve.UrlTable
other-extensions: OverloadedStrings
build-depends: base ==4.*, simple >= 0.8.0,
wai ==2.*, wai-extra ==2.*, warp ==2.1.*,
aeson ==0.8.*, bytestring ==0.10.*,
transformers ==0.3.*, mtl ==2.1.*,