[FLOW PHYLO] Compiles but errors at runtime test.
[gargantext.git] / package.yaml
index 40cbdeb57c879c447f7a774943bc6201f2f4e5a8..c940ad5e5c549cc81d6e4b74c7dff4b3b6b9c5c2 100644 (file)
@@ -1,13 +1,12 @@
 name: gargantext
-version: '0.1.0.0'
-synopsis: Deep (Collaborative) Text mining project
+version: '4.0.0.6'
+synopsis: Search, map, share
 description: Please see README.md
 category: Data
-author: Alexandre Delanoë
+author: Gargantext Team
 maintainer: team@gargantext.org
 copyright:
-- ! 'Copyright: (c) 2016'
-- 2018 CNRS Alexandre Delanoë
+    - ! 'Copyright: (c) 2017-2018: see git logs and README'
 license: BSD3
 homepage: https://gargantext.org
 ghc-options: -Wall
@@ -19,112 +18,309 @@ library:
   ghc-options:
   - -Wincomplete-uni-patterns
   - -Wincomplete-record-updates
+  - -Wmissing-signatures
+  - -Wunused-binds
+  - -Wunused-imports
   - -Werror
   exposed-modules:
-  - Data.Gargantext
-  - Data.Gargantext.Analysis
-  - Data.Gargantext.DSL
-  - Data.Gargantext.Database
-  - Data.Gargantext.Database.Instances
-  - Data.Gargantext.Database.Ngram
-  - Data.Gargantext.Database.Node
-  - Data.Gargantext.Database.NodeNgram
-  - Data.Gargantext.Database.NodeNgramNgram
-  - Data.Gargantext.Database.NodeNode
-  - Data.Gargantext.Database.NodeNodeNgram
-  - Data.Gargantext.Database.Private
-  - Data.Gargantext.Database.User
-  - Data.Gargantext.Ngrams
-  - Data.Gargantext.Ngrams.Count
-  - Data.Gargantext.Ngrams.CoreNLP
-  - Data.Gargantext.Ngrams.Parser
-  - Data.Gargantext.Ngrams.Lang.En
-  - Data.Gargantext.Ngrams.Lang.Fr
-  - Data.Gargantext.Ngrams.Metrics
-  - Data.Gargantext.Ngrams.TextMining
-  - Data.Gargantext.Ngrams.Occurrences
-  - Data.Gargantext.Parsers
-  - Data.Gargantext.Parsers.WOS
-  - Data.Gargantext.Parsers.Date
-  - Data.Gargantext.Prelude
-  - Data.Gargantext.RCT
-  - Data.Gargantext.Server
-  - Data.Gargantext.Types
-  - Data.Gargantext.Types.Main
-  - Data.Gargantext.Types.Node
-  - Data.Gargantext.Utils.DateUtils
-  - Data.Gargantext.Utils.Prefix
+  - Gargantext
+  - Gargantext.API
+  - Gargantext.API.Auth
+  - Gargantext.API.Count
+  - Gargantext.API.FrontEnd
+  - Gargantext.API.Ngrams
+  - Gargantext.API.Node
+  - Gargantext.API.Orchestrator
+  - Gargantext.API.Search
+  - Gargantext.API.Settings
+  - Gargantext.Core
+  - Gargantext.Core.Types
+  - Gargantext.Core.Types.Main
+  - Gargantext.Core.Utils.Prefix
+  - Gargantext.Database
+  - Gargantext.Database.Flow
+  - Gargantext.Database.Schema.Node
+  - Gargantext.Database.Tree
+  - Gargantext.Database.Types.Node
+  - Gargantext.Database.Utils
+  - Gargantext.Database.Schema.User
+  - Gargantext.Prelude
+  - Gargantext.Text
+  - Gargantext.Text.Context
+  - Gargantext.Text.Crawlers
+  - Gargantext.Text.Examples
+  - Gargantext.Text.List.CSV
+  - Gargantext.Text.Metrics
+  - Gargantext.Text.Metrics.TFICF
+  - Gargantext.Text.Metrics.CharByChar
+  - Gargantext.Text.Metrics.Count
+  - Gargantext.Text.Parsers
+  - Gargantext.Text.Parsers.CSV
+  - Gargantext.Text.Parsers.Date
+  - Gargantext.Text.Parsers.Wikimedia
+  - Gargantext.Text.Parsers.WOS
+  - Gargantext.Text.Parsers.GrandDebat
+  - Gargantext.Text.Search
+  - Gargantext.Text.Terms
+  - Gargantext.Text.Terms.Stop
+  - Gargantext.Text.Terms.Mono
+  - Gargantext.Text.Terms.Multi.Lang.En
+  - Gargantext.Text.Terms.Multi.Lang.Fr
+  - Gargantext.Text.Terms.Multi.RAKE
+  - Gargantext.Text.Terms.WithList
+  - Gargantext.Text.Flow
+  - Gargantext.Viz.Graph
+  - Gargantext.Viz.Graph.Distances.Matrice
+  - Gargantext.Viz.Graph.Index
+  - Gargantext.Viz.Phylo
+  - Gargantext.Viz.Phylo.Tools
+  - Gargantext.Viz.Phylo.Example
+  - Gargantext.Viz.Phylo.LevelMaker
+  - Gargantext.Viz.Phylo.View.Export
+  - Gargantext.Viz.Phylo.View.ViewMaker
   dependencies:
-  - base >=4.7 && <5
+  - array
+  - QuickCheck
+  - accelerate
   - aeson
   - aeson-lens
-  - attoparsec
+  - aeson-pretty
   - async
+  - attoparsec
+  - auto-update
+  - base >=4.7 && <5
   - base16-bytestring
+  - blaze-html
+  - blaze-markup
+  - blaze-svg
   - bytestring
   - case-insensitive
-  - containers
-  - contravariant
+  - cassava
+  #- charsetdetect-ae  # detect charset
+  - clustering-louvain
   - conduit
   - conduit-extra
+  - containers
+  - contravariant
+  - crawlerPubMed
+  - crawlerIsidore
+  - crawlerHAL
+  - data-time-segment
+  - deepseq
   - directory
   - duckling
+  - exceptions
   - filepath
+  - fullstop
+  - fclabels
+  - fgl
+  - fast-logger
+  - filelock
+  - full-text-search
+  - graphviz
+  - haskell-igraph
+  - http-client
+  - http-client-tls
   - http-conduit
+  - http-api-data
+  - http-types
+  - hsparql
+  - hstatistics
+  - HSvm
+  - hxt
+  - hlcm
+  - ini
+  - insert-ordered-containers
+  - jose-jwt
+    #  - kmeans-vector
+  - json-stream
+  - KMP
   - lens
+  - located-base
   - logging-effect
+  - matrix
+  - monad-logger
+  - mtl
+  - natural-transformation
   - opaleye
-  - path
+  - pandoc
+  - parallel
   - parsec
+  - patches-class
+  - patches-map
+  - path
+  - path-io
   - postgresql-simple
-  - pretty
+  - pretty-simple
+  - probability
   - product-profunctors
   - profunctors
   - protolude
   - pureMD5
+  - SHA
+  - simple-reflect
+  - cereal     # (IGraph)
+  - singletons # (IGraph)
+  - random
+  - rake
   - regex-compat
+  - resourcet
+  - rdf4h
   - safe
   - semigroups
   - servant
+  - servant-auth
+  - servant-blaze
   - servant-client
+  - servant-job
+  - servant-mock
   - servant-multipart
   - servant-server
+  - servant-swagger
+  - servant-swagger-ui
+  - servant-static-th
+  - servant-cassava
+  - serialise
   - split
+  - stemmer
+  - string-conversions
+  - swagger2
   - tagsoup
+  - temporary
   - text-metrics
   - time
-  - timezone-series
   - time-locale-compat
+  - timezone-series
   - transformers
+  - transformers-base
   - unordered-containers
   - uuid
+  - validity
   - vector
   - wai
+  - wai-cors
+  - wai-extra
   - warp
+  - wreq
+  - xml-conduit
+  - xml-types
   - yaml
-  - zlib
   - zip
-  - path-io
-tests:
-  garg-test:
+  - zlib
+#  - utc
+
+executables:
+  gargantext-server:
     main: Main.hs
-    source-dirs: src-test
+    source-dirs: bin/gargantext-server
+    ghc-options:
+    - -O2
+    - -Wcompat
+    - -Wmissing-signatures
+    - -rtsopts
+    - -threaded
+    - -with-rtsopts=-N
+    dependencies:
+      - base
+      - containers
+      - gargantext
+      - vector
+      - cassava
+      - ini
+      - optparse-generic
+      - unordered-containers
+      - full-text-search
+
+  gargantext-cli:
+    main: Main.hs
+    source-dirs: bin/gargantext-cli
     ghc-options:
     - -threaded
     - -rtsopts
     - -with-rtsopts=-N
+    - -O2
+    - -Wmissing-signatures
     dependencies:
-    - base
-    - gargantext
-    - hspec
-    - QuickCheck
+      - aeson
+      - async
+      - base
+      - bytestring
+      - containers
+      - gargantext
+      - vector
+      - cassava
+      - ini
+      - optparse-generic
+      - split
+      - unordered-containers
+      - full-text-search
+
+  gargantext-phylo:
+    main: Main.hs
+    source-dirs: bin/gargantext-phylo
+    ghc-options:
+    - -threaded
+    - -rtsopts
+    - -with-rtsopts=-N
+    - -O2
+    - -Wmissing-signatures
+    dependencies:
+      - aeson
+      - async
+      - base
+      - bytestring
+      - containers
+      - directory
+      - gargantext
+      - vector
+      - parallel
+      - cassava
+      - ini
+      - optparse-generic
+      - split
+      - unordered-containers
+
+  gargantext-import:
+    main: Main.hs
+    source-dirs: bin/gargantext-import
+    ghc-options:
+    - -threaded
+    - -rtsopts
+    - -with-rtsopts=-N
+    - -O2
+    - -Wmissing-signatures
+    dependencies:
+      - gargantext
+      - base
+      - servant-server
+
+tests:
+#   garg-test:
+#     main: Main.hs
+#     source-dirs: src-test
+#     ghc-options:
+#     - -threaded
+#     - -rtsopts
+#     - -with-rtsopts=-N
+#     dependencies:
+#     - base
+#     - gargantext
+#     - hspec
+#     - QuickCheck
+#     - quickcheck-instances 
+#     - time
+#     - parsec
+#     - duckling
+#     - text
   garg-doctest:
     main: Main.hs
     source-dirs: src-doctest
     ghc-options:
-    - -Werror
-    - -threaded
+    - -O2
+    - -Wcompat
+    - -Wmissing-signatures
     - -rtsopts
+    - -threaded
     - -with-rtsopts=-N
     dependencies:
     - doctest