2021-03-26 12:31:55 -07:00
|
|
|
name: ivo
|
2019-08-15 10:42:24 -07:00
|
|
|
version: 0.1.0.0
|
2021-03-26 12:31:55 -07:00
|
|
|
github: "ivolang/ivo"
|
2019-08-15 10:42:24 -07:00
|
|
|
license: GPL-3
|
|
|
|
author: "James Martin"
|
|
|
|
maintainer: "james@jtmar.me"
|
2021-03-26 12:31:55 -07:00
|
|
|
copyright: "2019-2021 James Martin"
|
|
|
|
synopsis: "A useless programming language for useless people."
|
|
|
|
category: Language
|
|
|
|
description: Please see the README on GitHub at <https://github.com/ivolang/ivo#readme>
|
2019-08-15 10:42:24 -07:00
|
|
|
|
|
|
|
extra-source-files:
|
|
|
|
- README.md
|
|
|
|
|
2021-03-26 22:58:45 -07:00
|
|
|
dependencies:
|
|
|
|
- base >= 4.14 && < 5
|
|
|
|
- monad-loops >= 0.4.3 && < 0.5
|
|
|
|
- mtl >= 2.2 && < 3
|
|
|
|
- parsec >= 3.1 && < 4
|
|
|
|
- recursion-schemes >= 5.2 && < 6
|
|
|
|
- text >= 1.2 && < 2
|
|
|
|
- unordered-containers >= 0.2.13 && < 0.3
|
|
|
|
|
2019-12-11 19:21:54 -08:00
|
|
|
default-extensions:
|
2020-11-03 15:52:04 -08:00
|
|
|
- BlockArguments
|
2021-03-26 14:55:23 -07:00
|
|
|
- ConstraintKinds
|
2021-03-16 17:19:50 -07:00
|
|
|
- DefaultSignatures
|
2021-03-26 22:58:45 -07:00
|
|
|
- DeriveFoldable
|
|
|
|
- DeriveFunctor
|
|
|
|
- DeriveTraversable
|
2021-03-16 17:19:50 -07:00
|
|
|
- EmptyCase
|
|
|
|
- EmptyDataDeriving
|
2021-03-15 23:56:52 -07:00
|
|
|
- FlexibleContexts
|
2021-03-16 17:19:50 -07:00
|
|
|
- FlexibleInstances
|
2020-11-03 13:29:59 -08:00
|
|
|
- ImportQualifiedPost
|
2021-03-18 00:00:43 -07:00
|
|
|
- InstanceSigs
|
2021-03-05 19:04:06 -08:00
|
|
|
- LambdaCase
|
2021-03-26 22:58:45 -07:00
|
|
|
- MultiParamTypeClasses
|
|
|
|
- NamedFieldPuns
|
2019-12-11 19:21:54 -08:00
|
|
|
- OverloadedStrings
|
2021-03-05 19:04:06 -08:00
|
|
|
- PatternSynonyms
|
2021-03-18 00:00:43 -07:00
|
|
|
- ScopedTypeVariables
|
2021-03-16 17:19:50 -07:00
|
|
|
- StandaloneDeriving
|
|
|
|
- TypeFamilies
|
2021-03-26 22:58:45 -07:00
|
|
|
- ViewPatterns
|
2019-08-15 10:42:24 -07:00
|
|
|
|
|
|
|
library:
|
|
|
|
source-dirs: src
|
2021-03-05 19:04:06 -08:00
|
|
|
ghc-options:
|
|
|
|
- -Weverything
|
|
|
|
# Useless Safe Haskell warnings
|
|
|
|
- -Wno-missing-safe-haskell-mode
|
|
|
|
- -Wno-unsafe
|
|
|
|
- -Wno-safe
|
|
|
|
# Other stupid warnings
|
|
|
|
- -Wno-implicit-prelude
|
|
|
|
- -Wno-missing-deriving-strategies
|
|
|
|
# Less stupid warnings, but I still don't care
|
|
|
|
- -Wno-all-missed-specialisations
|
2021-03-15 23:56:52 -07:00
|
|
|
- -Wno-missing-local-signatures
|
2021-03-05 19:04:06 -08:00
|
|
|
# Explicit import lists are generally a good thing, but I don't want them
|
|
|
|
# in certain cases (e.g. importing my own modules, task-specific modules like the parser).
|
|
|
|
- -Wno-missing-import-lists
|
2019-08-15 10:42:24 -07:00
|
|
|
|
|
|
|
executables:
|
2021-03-26 12:31:55 -07:00
|
|
|
ivo:
|
2019-08-15 10:42:24 -07:00
|
|
|
main: Main.hs
|
|
|
|
source-dirs: app
|
|
|
|
ghc-options:
|
2021-03-15 18:31:54 -07:00
|
|
|
- -Wall
|
2019-08-15 10:42:24 -07:00
|
|
|
- -threaded
|
|
|
|
- -rtsopts
|
|
|
|
- -with-rtsopts=-N
|
2021-03-22 17:34:51 -07:00
|
|
|
- -Wno-missing-export-lists
|
|
|
|
- -Wno-monomorphism-restriction
|
|
|
|
- -Wno-unused-do-bind
|
2019-08-15 10:42:24 -07:00
|
|
|
dependencies:
|
2021-03-26 12:31:55 -07:00
|
|
|
- ivo
|
2021-03-18 14:40:04 -07:00
|
|
|
- exceptions >= 0.10.4 && < 0.11
|
|
|
|
- haskeline >= 0.8 && < 1
|
2019-12-11 18:29:28 -08:00
|
|
|
|
|
|
|
tests:
|
2021-03-26 12:31:55 -07:00
|
|
|
ivo-test:
|
2019-12-11 18:29:28 -08:00
|
|
|
main: Spec.hs
|
|
|
|
source-dirs: test
|
|
|
|
ghc-options:
|
2021-03-15 18:31:54 -07:00
|
|
|
- -Wall
|
2019-12-11 18:29:28 -08:00
|
|
|
- -threaded
|
|
|
|
- -rtsopts
|
|
|
|
- -with-rtsopts=-N
|
|
|
|
dependencies:
|
2021-03-26 12:31:55 -07:00
|
|
|
- ivo
|
2019-12-11 18:29:28 -08:00
|
|
|
- tasty >= 1.2 && < 2
|
|
|
|
- tasty-hunit >= 0.10 && < 0.11
|