Skip to content

Commit

Permalink
Remove -Werror, add synosis for the Haskell package
Browse files Browse the repository at this point in the history
  • Loading branch information
fizruk committed Feb 2, 2024
1 parent 523d5b6 commit 9cda60b
Show file tree
Hide file tree
Showing 2 changed files with 42 additions and 42 deletions.
7 changes: 4 additions & 3 deletions eo-phi-normalizer/eo-phi-normalizer.cabal
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ cabal-version: 1.24

name: eo-phi-normalizer
version: 0.1.0
synopsis: Command line normalizer of 𝜑-calculus expressions.
description: Please see the README on GitHub at <https://github.com/objectionary/eo-phi-normalizer#readme>
homepage: https://github.com/objectionary/eo-phi-normalizer#readme
bug-reports: https://github.com/objectionary/eo-phi-normalizer/issues
Expand Down Expand Up @@ -48,7 +49,7 @@ library
src
default-extensions:
ImportQualifiedPost
ghc-options: -Wall -Wcompat -Widentities -Wincomplete-record-updates -Wincomplete-uni-patterns -Wmissing-export-lists -Wmissing-home-modules -Wpartial-fields -Wredundant-constraints -Wno-missing-export-lists -Werror
ghc-options: -Wall -Wcompat -Widentities -Wincomplete-record-updates -Wincomplete-uni-patterns -Wmissing-export-lists -Wmissing-home-modules -Wpartial-fields -Wredundant-constraints -Wno-missing-export-lists
build-tools:
alex >=3.2.4
, happy >=1.19.9
Expand All @@ -73,7 +74,7 @@ executable normalize-phi
app
default-extensions:
ImportQualifiedPost
ghc-options: -Wall -Wcompat -Widentities -Wincomplete-record-updates -Wincomplete-uni-patterns -Wmissing-export-lists -Wmissing-home-modules -Wpartial-fields -Wredundant-constraints -Wno-missing-export-lists -Werror -threaded -rtsopts -with-rtsopts=-N
ghc-options: -Wall -Wcompat -Widentities -Wincomplete-record-updates -Wincomplete-uni-patterns -Wmissing-export-lists -Wmissing-home-modules -Wpartial-fields -Wredundant-constraints -Wno-missing-export-lists -threaded -rtsopts -with-rtsopts=-N
build-tools:
alex >=3.2.4
, happy >=1.19.9
Expand Down Expand Up @@ -105,7 +106,7 @@ test-suite eo-phi-normalizer-test
test
default-extensions:
ImportQualifiedPost
ghc-options: -Wall -Wcompat -Widentities -Wincomplete-record-updates -Wincomplete-uni-patterns -Wmissing-export-lists -Wmissing-home-modules -Wpartial-fields -Wredundant-constraints -Wno-missing-export-lists -Werror -threaded -rtsopts -with-rtsopts=-N
ghc-options: -Wall -Wcompat -Widentities -Wincomplete-record-updates -Wincomplete-uni-patterns -Wmissing-export-lists -Wmissing-home-modules -Wpartial-fields -Wredundant-constraints -Wno-missing-export-lists -threaded -rtsopts -with-rtsopts=-N
build-tools:
alex >=3.2.4
, happy >=1.19.9
Expand Down
77 changes: 38 additions & 39 deletions eo-phi-normalizer/package.yaml
Original file line number Diff line number Diff line change
@@ -1,15 +1,16 @@
name: eo-phi-normalizer
version: 0.1.0
github: "objectionary/eo-phi-normalizer"
license: BSD3
author: "EO/Polystat Development Team"
maintainer: "[email protected]"
copyright: "2023 EO/Polystat Development Team"
name: eo-phi-normalizer
synopsis: "Command line normalizer of 𝜑-calculus expressions."
version: 0.1.0
github: "objectionary/eo-phi-normalizer"
license: BSD3
author: "EO/Polystat Development Team"
maintainer: "[email protected]"
copyright: "2023 EO/Polystat Development Team"

extra-source-files:
- README.md
- CHANGELOG.md
- grammar/EO/Phi/Syntax.cf
- README.md
- CHANGELOG.md
- grammar/EO/Phi/Syntax.cf

verbatim:
cabal-version: 1.24
Expand All @@ -21,7 +22,7 @@ verbatim:
# 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/objectionary/eo-phi-normalizer#readme>
description: Please see the README on GitHub at <https://github.com/objectionary/eo-phi-normalizer#readme>

custom-setup:
dependencies:
Expand All @@ -35,30 +36,29 @@ build-tools:
BNFC:bnfc: ">= 2.9.4.1"

dependencies:
- base >= 4.7 && < 5
- aeson
- array >= 0.5.5.0
- directory
- filepath
- yaml
- mtl
- string-interpolate
- base >= 4.7 && < 5
- aeson
- array >= 0.5.5.0
- directory
- filepath
- yaml
- mtl
- string-interpolate

default-extensions:
- ImportQualifiedPost
- ImportQualifiedPost

ghc-options:
- -Wall
- -Wcompat
- -Widentities
- -Wincomplete-record-updates
- -Wincomplete-uni-patterns
- -Wmissing-export-lists
- -Wmissing-home-modules
- -Wpartial-fields
- -Wredundant-constraints
- -Wno-missing-export-lists
- -Werror
- -Wall
- -Wcompat
- -Widentities
- -Wincomplete-record-updates
- -Wincomplete-uni-patterns
- -Wmissing-export-lists
- -Wmissing-home-modules
- -Wpartial-fields
- -Wredundant-constraints
- -Wno-missing-export-lists

library:
source-dirs: src
Expand All @@ -74,16 +74,15 @@ library:

executables:
normalize-phi:
main: Main.hs
source-dirs: app
main: Main.hs
source-dirs: app
ghc-options:
- -threaded
- -rtsopts
- -with-rtsopts=-N
- -threaded
- -rtsopts
- -with-rtsopts=-N
dependencies:
- eo-phi-normalizer
- optparse-generic

- eo-phi-normalizer
- optparse-generic

tests:
eo-phi-normalizer-test:
Expand Down

0 comments on commit 9cda60b

Please sign in to comment.