From e9b4e2d34af8f0ea4a54d8d093108cdfdc68757c Mon Sep 17 00:00:00 2001 From: mtgmonkey Date: Sat, 13 Dec 2025 19:22:42 +0100 Subject: Cabal; non-Nix support --- hs-game.cabal | 38 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) create mode 100644 hs-game.cabal (limited to 'hs-game.cabal') diff --git a/hs-game.cabal b/hs-game.cabal new file mode 100644 index 0000000..c38218a --- /dev/null +++ b/hs-game.cabal @@ -0,0 +1,38 @@ +cabal-version: 3.0 +name: hs-game +version: 0.3.0 +-- synopsis: +-- description: +homepage: https://git.mtgmonkey.net/Andromeda/hs-game +license: BSD-3-Clause +license-file: LICENSE +author: andromeda +maintainer: @andromeda:tchncs.de +-- copyright: +category: Game +build-type: Simple +extra-doc-files: CHANGELOG.md +-- extra-source-files: + +common warnings + ghc-options: -Wall + +common optimizations + ghc-options: -O2 + +executable hs-game + import: optimizations + main-is: Main.hs + other-modules: + Game.Internal, + Game.Internal.LoadShaders, + Game.Internal.Types + -- other-extensions: + build-depends: + base >= 4.18, + bytestring >= 0.12, + GLFW-b >= 3.3, + lens >= 5.3, + linear >= 1.23, + OpenGL >= 3.0, + hs-source-dirs: src -- cgit v1.3.1