Renames in symantic-document.
[haskell/symantic.git] / symantic-grammar / symantic-grammar.cabal
index 438ef7fb464d2711b7a3fba0d2d855159636cc2f..d1f5e777f75940b070533f9a58640c1113c38e24 100644 (file)
@@ -1,34 +1,49 @@
-author: Julien Moutinho <julm+symantic@autogeree.net>
-bug-reports: Julien Moutinho <julm+symantic@autogeree.net>
-build-type: Simple
-cabal-version: >= 1.24
+name: symantic-grammar
+-- PVP:  +-+------- breaking API changes
+--       | | +----- non-breaking API additions
+--       | | | +--- code changes with no API change
+version: 0.3.0.20180213
 category: Language
-description:
-  This library defines an embedded DSL for regular or context-free grammars,
-  in the <http://okmij.org/ftp/tagless-final/ Tagless-Final> way (aka. the /symantic/ way).
-  .
-  See @Test.hs@ or source code of <https://hackage.haskell.org/package/symantic symantic>
-  and <https://hackage.haskell.org/package/symantic-lib symantic-lib> for examples of use.
-extra-source-files:
-extra-tmp-files:
--- homepage: 
+synopsis: Library for symantic grammars.
+description: This library defines an embedded DSL for regular or context-free grammars,
+             in the <http://okmij.org/ftp/tagless-final/ Tagless-Final> way (aka. the /symantic/ way).
+             .
+             See @Test.hs@ or source code of <https://hackage.haskell.org/package/symantic symantic>
+             and <https://hackage.haskell.org/package/symantic-lib symantic-lib> for examples of use.
+extra-doc-files:
 license: GPL-3
 license-file: COPYING
-maintainer: Julien Moutinho <julm+symantic@autogeree.net>
-name: symantic-grammar
 stability: experimental
-synopsis: Library for symantic grammars.
+author:      Julien Moutinho <julm+symantic@autogeree.net>
+maintainer:  Julien Moutinho <julm+symantic@autogeree.net>
+bug-reports: Julien Moutinho <julm+symantic@autogeree.net>
+-- homepage:
+
+build-type: Simple
+cabal-version: >= 1.24
 tested-with: GHC==8.2.2
--- PVP:  +-+------- breaking API changes
---       | | +----- non-breaking API additions
---       | | | +--- code changes with no API change
-version: 0.3.1.20180213
+extra-source-files:
+  stack.yaml
+extra-tmp-files:
 
 Source-Repository head
   location: git://git.autogeree.net/symantic
   type:     git
 
 Library
+  exposed-modules:
+    Language.Symantic.Grammar
+    Language.Symantic.Grammar.BinTree
+    Language.Symantic.Grammar.ContextFree
+    Language.Symantic.Grammar.EBNF
+    Language.Symantic.Grammar.Fixity
+    Language.Symantic.Grammar.Meta
+    Language.Symantic.Grammar.Operators
+    Language.Symantic.Grammar.Regular
+    Language.Symantic.Grammar.Terminal
+    Language.Symantic.Grammar.Source
+    Language.Symantic.Grammar.Error
+  default-language: Haskell2010
   default-extensions:
     DataKinds
     FlexibleContexts
@@ -46,25 +61,17 @@ Library
     -Wincomplete-record-updates
     -fno-warn-tabs
     -fhide-source-paths
-  default-language: Haskell2010
-  exposed-modules:
-    Language.Symantic.Grammar
-    Language.Symantic.Grammar.BinTree
-    Language.Symantic.Grammar.ContextFree
-    Language.Symantic.Grammar.EBNF
-    Language.Symantic.Grammar.Fixity
-    Language.Symantic.Grammar.Meta
-    Language.Symantic.Grammar.Operators
-    Language.Symantic.Grammar.Regular
-    Language.Symantic.Grammar.Terminal
-    Language.Symantic.Grammar.Source
-    Language.Symantic.Grammar.Error
   build-depends:
       base >= 4.6 && < 5
     , text >= 1.2
 
 Test-Suite symantic-grammar-test
   type: exitcode-stdio-1.0
+  hs-source-dirs: test
+  main-is: Main.hs
+  other-modules:
+    HUnit
+  default-language: Haskell2010
   default-extensions:
     FlexibleContexts
     FlexibleInstances
@@ -72,13 +79,12 @@ Test-Suite symantic-grammar-test
     OverloadedStrings
     ScopedTypeVariables
     TypeFamilies
-  default-language: Haskell2010
-  ghc-options: -Wall
-               -fno-warn-tabs
-               -main-is Test
-  hs-source-dirs: Language/Symantic
-  main-is: Grammar/Test.hs
-  other-modules:
+  ghc-options:
+    -Wall
+    -Wincomplete-uni-patterns
+    -Wincomplete-record-updates
+    -fno-warn-tabs
+    -fhide-source-paths
   build-depends:
       symantic-grammar
     , base         >= 4.6 && < 5