summaryrefslogtreecommitdiff
path: root/haskell-web.cabal
diff options
context:
space:
mode:
Diffstat (limited to 'haskell-web.cabal')
-rw-r--r--haskell-web.cabal60
1 files changed, 32 insertions, 28 deletions
diff --git a/haskell-web.cabal b/haskell-web.cabal
index 9fd655e..6570c2f 100644
--- a/haskell-web.cabal
+++ b/haskell-web.cabal
@@ -1,31 +1,35 @@
-cabal-version: >=1.10
--- Initial package description 'haskell-web.cabal' generated by 'cabal
--- init'. For further documentation, see
--- http://haskell.org/cabal/users-guide/
+cabal-version: 3.0
-name: haskell-web
-version: 0.1.0.0
-author: Andrew
-maintainer: saintruler@gmail.com
-build-type: Simple
+name: haskell-web
+version: 0.1.0.1
+license: BSD-2-Clause
+license-file: LICENSE
+author: Andrew Guschin
+maintainer: guschin.drew@gmail.com
+build-type: Simple
+
+common warnings
+ ghc-options: -Wall
executable haskell-web
- main-is: Main.hs
- other-modules:
- Web.Http
- , Web.Request
- , Web.Response
- , Web.Router
- , Web.Utils
- , Views
- , Routes
- , Settings
- -- other-extensions:
- build-depends:
- base >=4.14 && <4.15
- , text
- , http-types
- , bytestring
- , network
- -- hs-source-dirs:
- default-language: Haskell2010
+ -- Import common warning flags.
+ import: warnings
+ hs-source-dirs: app
+ default-language: Haskell2010
+
+ main-is: Main.hs
+ other-modules:
+ Web.Http
+ , Web.Request
+ , Web.Response
+ , Web.Router
+ , Web.Utils
+ , Views
+ , Routes
+ , Settings
+ build-depends:
+ base ^>=4.17.0.0
+ , text
+ , http-types
+ , bytestring
+ , network