summaryrefslogtreecommitdiff
path: root/haskell-web.cabal
diff options
context:
space:
mode:
authorAndrew Guschin <guschin.drew@gmail.com>2023-03-05 13:45:37 +0400
committerAndrew Guschin <guschin.drew@gmail.com>2023-03-05 13:47:41 +0400
commita0e8e5a91d15ed8c79f4a1b5914d3a6242c0cbd3 (patch)
tree76f76788523a16c0db8cb8f3a90b23912acd37d4 /haskell-web.cabal
parentdd73de2e563c332c5a90bb21c5c7e6cbebc0ab86 (diff)
Migrated project to cabal
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