aboutsummaryrefslogtreecommitdiff
path: root/chelleport.cabal
diff options
context:
space:
mode:
authorAkshay Nair <phenax5@gmail.com>2024-12-21 16:37:24 +0530
committerAkshay Nair <phenax5@gmail.com>2024-12-21 16:49:42 +0530
commit87815edbab70302793fb83259fedc1ae9004d172 (patch)
treee434cc57bff80f7e8a739db9349225f57e82d2d8 /chelleport.cabal
parent217f38ad33811c88c63ff4c0be387e67fb0cd68a (diff)
downloadchelleport-87815edbab70302793fb83259fedc1ae9004d172.tar.gz
chelleport-87815edbab70302793fb83259fedc1ae9004d172.zip
Optimize initialization time
Diffstat (limited to '')
-rw-r--r--chelleport.cabal10
1 files changed, 2 insertions, 8 deletions
diff --git a/chelleport.cabal b/chelleport.cabal
index 1397a33..ceeb2af 100644
--- a/chelleport.cabal
+++ b/chelleport.cabal
@@ -9,11 +9,6 @@ build-type: Simple
synopsis: Mouse control
description: Mouse control
-Flag release
- Description: Release build options
- Manual: True
- Default: False
-
common common-config
default-extensions:
ExplicitForAll
@@ -32,6 +27,7 @@ common common-config
build-depends:
base,
text,
+ time,
mtl == 2.3.1,
sdl2 == 2.5.5.0,
containers
@@ -41,9 +37,7 @@ common warnings
-Wall -Wincomplete-record-updates -Wincomplete-uni-patterns
-Wunused-foralls -Wextra -Wno-unused-do-bind -Wname-shadowing
-fwarn-tabs -fprint-explicit-foralls -fprint-explicit-kinds
- extra-libraries: Xtst
- if flag(release)
- ghc-options: -O2 -Werror
+ extra-libraries: Xtst X11
executable chelleport
import: common-config, warnings