From 7553b33b4d3caedd5650953acf7ae440f2154735 Mon Sep 17 00:00:00 2001 From: Akshay Nair Date: Fri, 13 Dec 2024 16:35:10 +0530 Subject: Init commit with hello world shit --- chelleport.cabal | 61 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 61 insertions(+) create mode 100644 chelleport.cabal (limited to 'chelleport.cabal') diff --git a/chelleport.cabal b/chelleport.cabal new file mode 100644 index 0000000..e9587e6 --- /dev/null +++ b/chelleport.cabal @@ -0,0 +1,61 @@ +cabal-version: 3.0 + +name: chelleport +version: 0.1.0.0 +license: MIT +author: Akshay Nair +maintainer: Akshay Nair +build-type: Simple +synopsis: Mouse control +description: Mouse control + +common common-config + default-extensions: + OverloadedStrings, + LambdaCase, + QuasiQuotes, + TemplateHaskell, + TupleSections, + NamedFieldPuns + default-language: Haskell2010 + build-depends: + base, + text, + containers + +common warnings + ghc-options: + -Wall -Wincomplete-record-updates -Wincomplete-uni-patterns + -Wunused-foralls -Wextra -Wno-unused-do-bind -Wname-shadowing + -fwarn-tabs -fprint-explicit-foralls -fprint-explicit-kinds + +executable chelleport + import: common-config, warnings + hs-source-dirs: bin + main-is: Main.hs + build-depends: lib-chelleport + -- other-modules: + +library lib-chelleport + import: common-config, warnings + hs-source-dirs: src + build-depends: + gloss == 1.13.2.2, + sdl2 == 2.5.5.0 + exposed-modules: + Chelleport + +test-suite specs + import: common-config + type: exitcode-stdio-1.0 + hs-source-dirs: specs + main-is: Main.hs + other-modules: + Specs.ParserSpec, + Specs.SerializerSpec, + Specs.TransformerSpec + build-depends: + lib-chelleport, + neat-interpolation, + pretty-simple, + hspec -- cgit v1.3.1