stack project setup

This commit is contained in:
vegowotenks 2025-08-11 15:53:56 +02:00
commit 6ebbb483f5
12 changed files with 461 additions and 0 deletions

50
package.yaml Normal file
View file

@ -0,0 +1,50 @@
name: scalie
version: 0.1.0.0
license: AGPL-3.0
author: "VegOwOtenks"
maintainer: "vego@vegowotenks.de"
copyright: "2025 VegOwOtenks"
extra-source-files:
- README.md
- CHANGELOG.md
# Metadata used when publishing your package
# synopsis: Short description of your package
# category: Web
# To avoid duplicated efforts in documentation and dealing with the
# complications of embedding Haddock markup inside cabal files, it is
# common to point users to the README.md file.
description: Please see the README on GitHub at <https://github.com/githubuser/scalie#readme>
dependencies:
- base >= 4.7 && < 5
ghc-options:
- -Weverything
library:
source-dirs: src
executables:
scalie-exe:
main: Main.hs
source-dirs: app
ghc-options:
- -threaded
- -rtsopts
- -with-rtsopts=-N
dependencies:
- scalie
tests:
scalie-test:
main: Spec.hs
source-dirs: test
ghc-options:
- -threaded
- -rtsopts
- -with-rtsopts=-N
dependencies:
- scalie