[stack] this compiles without allow-newer, allow-older

Don't know if cabal works though
parent bac174eb
...@@ -16,14 +16,13 @@ module Main where ...@@ -16,14 +16,13 @@ module Main where
import Common import Common
import Data.Aeson import Data.Aeson
import Data.List (nub) import Data.List (nub)
import Data.Text qualified as T
import GHC.IO.Encoding import GHC.IO.Encoding
import GHC.Stack import GHC.Stack
import Gargantext.Core.Viz.Phylo import Gargantext.Core.Viz.Phylo
import Gargantext.Core.Viz.Phylo.API.Tools import Gargantext.Core.Viz.Phylo.API.Tools
import Gargantext.Core.Viz.Phylo.PhyloExport (toPhyloExport, dotToFile) import Gargantext.Core.Viz.Phylo.PhyloExport (toPhyloExport, dotToFile)
import Gargantext.Core.Viz.Phylo.PhyloMaker (toPhylo, toPhyloWithoutLink) import Gargantext.Core.Viz.Phylo.PhyloMaker (toPhylo, toPhyloWithoutLink)
import Gargantext.Core.Viz.Phylo.PhyloTools (printIOMsg, printIOComment, setConfig, toPeriods, getTimePeriod, getTimeStep) import Gargantext.Core.Viz.Phylo.PhyloTools (printIOMsg, printIOComment, setConfig)
import Paths_gargantext import Paths_gargantext
import Prelude import Prelude
import Shelly import Shelly
......
...@@ -210,8 +210,8 @@ source-repository-package ...@@ -210,8 +210,8 @@ source-repository-package
location: https://github.com/garganscript/smtp-mail.git location: https://github.com/garganscript/smtp-mail.git
tag: d9a2df6354c1e42bb050853feadacb30c76366d3 tag: d9a2df6354c1e42bb050853feadacb30c76366d3
allow-older: * -- allow-older: *
allow-newer: * -- allow-newer: *
package gargantext package gargantext
ghc-options: -fwrite-ide-info -hiedir=".stack-work/hiedb" ghc-options: -fwrite-ide-info -hiedir=".stack-work/hiedb"
......
...@@ -63,7 +63,11 @@ common defaults ...@@ -63,7 +63,11 @@ common defaults
default-language: Haskell2010 default-language: Haskell2010
build-depends: build-depends:
base >=4.7 && <5 base >=4.7 && <5
, aeson ^>= 2.2.1.0 , aeson ^>= 2.1.2.1
, bytestring ^>= 0.11.5.2
, text ^>= 2.0.2
, time ^>= 1.12.2
, vector ^>= 0.12.3.0
common optimized common optimized
ghc-options: ghc-options:
...@@ -72,7 +76,23 @@ common optimized ...@@ -72,7 +76,23 @@ common optimized
-rtsopts -rtsopts
-with-rtsopts=-N -with-rtsopts=-N
-Wmissing-signatures -Wmissing-signatures
common tests
import: defaults
build-depends:
QuickCheck ^>= 2.14.2
, hspec ^>= 2.7.10
, hspec-core
, hspec-expectations >= 0.8 && < 0.9
, hspec-wai
, hspec-wai-json
, tasty ^>= 1.5
, tasty-hspec
, tasty-hunit
, tasty-quickcheck
, tasty-smallcheck
, validity ^>= 0.12.3.0
-- When enabled, it swaps the hashing algorithm -- When enabled, it swaps the hashing algorithm
-- with a quicker (and less secure) version, which -- with a quicker (and less secure) version, which
-- runs faster in tests. -- runs faster in tests.
...@@ -446,7 +466,7 @@ library ...@@ -446,7 +466,7 @@ library
HSvm ^>= 0.1.1.3.22 HSvm ^>= 0.1.1.3.22
, KMP ^>= 0.2.0.0 , KMP ^>= 0.2.0.0
, MissingH ^>= 1.4.3.0 , MissingH ^>= 1.4.3.0
, MonadRandom ^>= 0.5.3 , MonadRandom ^>= 0.6
, QuickCheck ^>= 2.14.2 , QuickCheck ^>= 2.14.2
, Unique ^>= 0.4.7.8 , Unique ^>= 0.4.7.8
, accelerate ^>= 1.3.0.0 , accelerate ^>= 1.3.0.0
...@@ -457,16 +477,15 @@ library ...@@ -457,16 +477,15 @@ library
, ansi-terminal , ansi-terminal
, array ^>= 0.5.4.0 , array ^>= 0.5.4.0
, async ^>= 2.2.4 , async ^>= 2.2.4
, attoparsec ^>= 0.13.2.5 , attoparsec ^>= 0.14.4
, auto-update ^>= 0.1.6 , auto-update ^>= 0.1.6
, base16-bytestring ^>= 1.0.2.0 , base16-bytestring ^>= 1.0.2.0
, base64-bytestring ^>= 1.1.0.0 , base64-bytestring ^>= 1.2.1.0
, bimap >= 0.5.0 , bimap >= 0.5.0
, blaze-html ^>= 0.9.1.2 , blaze-html ^>= 0.9.1.2
, blaze-markup ^>= 0.8.2.8 , blaze-markup ^>= 0.8.2.8
, blaze-svg ^>= 0.3.6.1 , blaze-svg ^>= 0.3.6.1
, boolexpr ^>= 0.2 , boolexpr ^>= 0.3
, bytestring ^>= 0.10.12.0
, case-insensitive ^>= 1.2.1.0 , case-insensitive ^>= 1.2.1.0
, cassava ^>= 0.5.2.0 , cassava ^>= 0.5.2.0
, cereal ^>= 0.5.8.2 , cereal ^>= 0.5.8.2
...@@ -494,26 +513,26 @@ library ...@@ -494,26 +513,26 @@ library
, exceptions ^>= 0.10.4 , exceptions ^>= 0.10.4
, extended-reals ^>= 0.2.4.0 , extended-reals ^>= 0.2.4.0
, extra ^>= 1.7.9 , extra ^>= 1.7.9
, fast-logger ^>= 3.0.5 , fast-logger ^>= 3.2.2
, fclabels ^>= 2.0.5 , fclabels ^>= 2.0.5
, fgl ^>= 5.7.0.3 , fgl ^>= 5.8.0.0
, filelock ^>= 0.1.1.5 , filelock ^>= 0.1.1.5
, filepath ^>= 1.4.2.1 , filepath ^>= 1.4.2.1
, fmt , fmt
, formatting ^>= 7.1.3 , formatting ^>= 7.2.0
, full-text-search ^>= 0.2.1.4 , full-text-search ^>= 0.2.1.4
, fullstop ^>= 0.1.4 , fullstop ^>= 0.1.4
, gargantext-graph >=0.1.0.0 , gargantext-graph >=0.1.0.0
, gargantext-prelude , gargantext-prelude
, graphviz ^>= 2999.20.1.0 , graphviz ^>= 2999.20.1.0
, hashable ^>= 1.3.0.0 , hashable ^>= 1.4.3.0
, haskell-igraph ^>= 0.10.4 , haskell-igraph ^>= 0.10.4
, hlcm ^>= 0.2.2 , hlcm ^>= 0.2.2
, hsinfomap ^>= 0.1 , hsinfomap ^>= 0.1
, hsparql ^>= 0.3.8 , hsparql ^>= 0.3.8
, hstatistics ^>= 0.3.1 , hstatistics ^>= 0.3.1
, http-api-data ^>= 0.4.2 , http-api-data ^>= 0.5
, http-client ^>= 0.6.4.1 , http-client ^>= 0.7.14
, http-client-tls ^>= 0.3.5.3 , http-client-tls ^>= 0.3.5.3
, http-conduit ^>= 2.3.8 , http-conduit ^>= 2.3.8
, http-media ^>= 0.8.0.0 , http-media ^>= 0.8.0.0
...@@ -525,7 +544,7 @@ library ...@@ -525,7 +544,7 @@ library
, ini ^>= 0.4.1 , ini ^>= 0.4.1
, insert-ordered-containers ^>= 0.2.5.1 , insert-ordered-containers ^>= 0.2.5.1
, iso639 , iso639
, jose ^>= 0.8.4 , jose ^>= 0.10
, json-stream ^>= 0.4.2.4 , json-stream ^>= 0.4.2.4
, lens >= 5.2.2 && < 5.3 , lens >= 5.2.2 && < 5.3
, lens-aeson < 1.3 , lens-aeson < 1.3
...@@ -551,15 +570,15 @@ library ...@@ -551,15 +570,15 @@ library
, network-uri ^>= 2.6.4.1 , network-uri ^>= 2.6.4.1
, opaleye ^>= 0.9.6.1 , opaleye ^>= 0.9.6.1
, openalex , openalex
, pandoc ^>= 2.14.0.3 , pandoc ^>= 3.0.1
, parallel ^>= 3.2.2.0 , parallel ^>= 3.2.2.0
, parsec ^>= 3.1.14.0 , parsec ^>= 3.1.14.0
, patches-class ^>= 0.1.0.1 , patches-class ^>= 0.1.0.1
, patches-map ^>= 0.1.0.1 , patches-map ^>= 0.1.0.1
, path ^>= 0.8.0 , path ^>= 0.9.5
, path-io ^>= 1.6.3 , path-io ^>= 1.8.1
, postgresql-simple ^>= 0.6.4 , postgresql-simple ^>= 0.6.4
, pretty-simple ^>= 4.0.0.0 , pretty-simple ^>= 4.1.2.0
, probability ^>= 0.2.7 , probability ^>= 0.2.7
, process ^>= 1.6.13.2 , process ^>= 1.6.13.2
, product-profunctors ^>= 0.11.0.3 , product-profunctors ^>= 0.11.0.3
...@@ -572,14 +591,14 @@ library ...@@ -572,14 +591,14 @@ library
, rdf4h ^>= 3.1.1 , rdf4h ^>= 3.1.1
, regex-compat ^>= 0.95.2.1 , regex-compat ^>= 0.95.2.1
, regex-tdfa ^>= 1.3.1.2 , regex-tdfa ^>= 1.3.1.2
, replace-attoparsec ^>= 1.4.5.0 , replace-attoparsec ^>= 1.5.0.0
, resource-pool ^>= 0.2.3.2 , resource-pool ^>= 0.4.0.0
, resourcet ^>= 1.2.4.3 , resourcet ^>= 1.2.4.3
, safe ^>= 0.3.19 , safe ^>= 0.3.19
, scientific ^>= 0.3.7.0 , scientific ^>= 0.3.7.0
, semigroups ^>= 0.19.2 , semigroups ^>= 0.20
, serialise ^>= 0.2.4.0 , serialise ^>= 0.2.4.0
, servant >= 0.18.3 && < 0.20 , servant ^>= 0.20.1
, servant-auth ^>= 0.4.0.0 , servant-auth ^>= 0.4.0.0
, servant-auth-client ^>= 0.4.1.0 , servant-auth-client ^>= 0.4.1.0
, servant-auth-server ^>=0.4.6.0 , servant-auth-server ^>=0.4.6.0
...@@ -587,30 +606,28 @@ library ...@@ -587,30 +606,28 @@ library
, servant-blaze ^>= 0.9.1 , servant-blaze ^>= 0.9.1
, servant-cassava ^>= 0.10.1 , servant-cassava ^>= 0.10.1
, servant-client >= 0.18.3 && < 0.20 , servant-client >= 0.18.3 && < 0.20
, servant-client-core >= 0.18.3 && < 0.20 , servant-client-core ^>= 0.20
, servant-ekg ^>= 0.3.1 , servant-ekg ^>= 0.3.1
, servant-flatten ^>= 0.2 , servant-flatten ^>= 0.2
, servant-job >= 0.2.0.0 , servant-job >= 0.2.0.0
, servant-multipart ^>= 0.12.1 , servant-multipart ^>= 0.12.1
, servant-server >= 0.18.3 && < 0.20 , servant-server ^>= 0.20
, servant-swagger ^>= 1.1.10 , servant-swagger ^>= 1.1.10
, servant-swagger-ui ^>= 0.3.5.3.5.0 , servant-swagger-ui ^>= 0.3.5.3.5.0
, servant-xml-conduit >= 0.1.0.4 , servant-xml-conduit >= 0.1.0.4
, simple-reflect ^>= 0.3.3 , simple-reflect ^>= 0.3.3
, singletons ^>= 2.7 , singletons ^>= 3.0.2
, singletons-th >= 3.1 , singletons-th >= 3.1
, snowball ^>= 1.0.0.1 , snowball ^>= 1.0.0.1
, split ^>= 0.2.3.4 , split ^>= 0.2.3.4
, stm ^>= 2.5.0.1 , stm ^>= 2.5.0.1
, swagger2 ^>= 2.6 , swagger2 ^>= 2.8.7
, taggy-lens ^>= 0.1.2 , taggy-lens ^>= 0.1.2
, tagsoup ^>= 0.14.8 , tagsoup ^>= 0.14.8
, template-haskell ^>= 2.16.0.0 , template-haskell ^>= 2.19.0.0
, temporary ^>= 1.3 , temporary ^>= 1.3
, text ^>= 1.2.4.1
, text-conversions ^>= 0.3.1 , text-conversions ^>= 0.3.1
, text-metrics ^>= 0.3.2 , text-metrics ^>= 0.3.2
, time ^>= 1.9.3
, time-locale-compat ^>= 0.1.1.5 , time-locale-compat ^>= 0.1.1.5
, timezone-series ^>= 0.1.13 , timezone-series ^>= 0.1.13
, transformers ^>= 0.5.6.2 , transformers ^>= 0.5.6.2
...@@ -621,8 +638,7 @@ library ...@@ -621,8 +638,7 @@ library
, uri-encode ^>= 1.5.0.7 , uri-encode ^>= 1.5.0.7
, utf8-string ^>= 1.0.2 , utf8-string ^>= 1.0.2
, uuid ^>= 1.3.15 , uuid ^>= 1.3.15
, validity ^>= 0.11.0.1 , validity ^>= 0.12.0.2
, vector ^>= 0.12.3.0
, wai >= 3.2.4 , wai >= 3.2.4
, wai-app-static ^>= 3.1.7.3 , wai-app-static ^>= 3.1.7.3
, wai-cors ^>= 0.2.7 , wai-cors ^>= 0.2.7
...@@ -630,12 +646,12 @@ library ...@@ -630,12 +646,12 @@ library
, wai-websockets ^>= 3.0.1.2 , wai-websockets ^>= 3.0.1.2
, warp ^>= 3.3.20 , warp ^>= 3.3.20
, websockets ^>= 0.12.7.3 , websockets ^>= 0.12.7.3
, wikiparsec ^>= 1.2.0 , wikiparsec ^>= 2.1.0
, wreq ^>= 0.5.3.3 , wreq ^>= 0.5.3.3
, xml-conduit ^>= 1.9.1.3 , xml-conduit ^>= 1.9.1.3
, xml-types ^>= 0.3.8 , xml-types ^>= 0.3.8
, yaml ^>= 0.11.8.0 , yaml ^>= 0.11.8.0
, zip ^>= 1.7.2 , zip ^>= 2.0.0
, zlib ^>= 0.6.2.3 , zlib ^>= 0.6.2.3
executable gargantext-admin executable gargantext-admin
...@@ -651,7 +667,6 @@ executable gargantext-admin ...@@ -651,7 +667,6 @@ executable gargantext-admin
extra extra
, gargantext , gargantext
, gargantext-prelude , gargantext-prelude
, text
executable gargantext-cli executable gargantext-cli
import: import:
...@@ -665,7 +680,6 @@ executable gargantext-cli ...@@ -665,7 +680,6 @@ executable gargantext-cli
bin/gargantext-cli bin/gargantext-cli
build-depends: build-depends:
async ^>= 2.2.4 async ^>= 2.2.4
, bytestring ^>= 0.10.12.0
, cassava ^>= 0.5.2.0 , cassava ^>= 0.5.2.0
, containers ^>= 0.6.5.1 , containers ^>= 0.6.5.1
, extra ^>= 1.7.9 , extra ^>= 1.7.9
...@@ -676,9 +690,7 @@ executable gargantext-cli ...@@ -676,9 +690,7 @@ executable gargantext-cli
, optparse-generic ^>= 1.4.7 , optparse-generic ^>= 1.4.7
, protolude ^>= 0.3.3 , protolude ^>= 0.3.3
, split ^>= 0.2.3.4 , split ^>= 0.2.3.4
, text ^>= 1.2.4.1
, unordered-containers ^>= 0.2.16.0 , unordered-containers ^>= 0.2.16.0
, vector ^>= 0.12.3.0
executable gargantext-db-obfuscation executable gargantext-db-obfuscation
import: import:
...@@ -698,7 +710,6 @@ executable gargantext-db-obfuscation ...@@ -698,7 +710,6 @@ executable gargantext-db-obfuscation
, gargantext-prelude , gargantext-prelude
, optparse-simple , optparse-simple
, postgresql-simple ^>= 0.6.4 , postgresql-simple ^>= 0.6.4
, text
executable gargantext-import executable gargantext-import
import: import:
...@@ -715,8 +726,7 @@ executable gargantext-import ...@@ -715,8 +726,7 @@ executable gargantext-import
extra ^>= 1.7.9 extra ^>= 1.7.9
, gargantext , gargantext
, gargantext-prelude , gargantext-prelude
, servant-server ^>= 0.18.3 , servant-server ^>= 0.20
, text ^>= 1.2.4.1
executable gargantext-init executable gargantext-init
import: import:
...@@ -732,7 +742,6 @@ executable gargantext-init ...@@ -732,7 +742,6 @@ executable gargantext-init
, extra ^>= 1.7.9 , extra ^>= 1.7.9
, gargantext , gargantext
, gargantext-prelude , gargantext-prelude
, text ^>= 1.2.4.1
executable gargantext-invitations executable gargantext-invitations
import: import:
...@@ -747,7 +756,6 @@ executable gargantext-invitations ...@@ -747,7 +756,6 @@ executable gargantext-invitations
extra ^>= 1.7.9 extra ^>= 1.7.9
, gargantext , gargantext
, gargantext-prelude , gargantext-prelude
, text ^>= 1.2.4.1
executable gargantext-phylo executable gargantext-phylo
import: import:
...@@ -777,7 +785,6 @@ executable gargantext-phylo ...@@ -777,7 +785,6 @@ executable gargantext-phylo
ghc-options: -Wall -threaded -rtsopts -with-rtsopts=-N -O2 -Wmissing-signatures ghc-options: -Wall -threaded -rtsopts -with-rtsopts=-N -O2 -Wmissing-signatures
build-depends: build-depends:
async ^>= 2.2.4 async ^>= 2.2.4
, bytestring ^>= 0.10.12.0
, cassava ^>= 0.5.2.0 , cassava ^>= 0.5.2.0
, containers ^>= 0.6.5.1 , containers ^>= 0.6.5.1
, cryptohash ^>= 0.11.9 , cryptohash ^>= 0.11.9
...@@ -789,10 +796,7 @@ executable gargantext-phylo ...@@ -789,10 +796,7 @@ executable gargantext-phylo
, optparse-generic ^>= 1.4.7 , optparse-generic ^>= 1.4.7
, parallel ^>= 3.2.2.0 , parallel ^>= 3.2.2.0
, split ^>= 0.2.3.4 , split ^>= 0.2.3.4
, text ^>= 1.2.4.1
, time ^>= 1.9.3
, unordered-containers ^>= 0.2.16.0 , unordered-containers ^>= 0.2.16.0
, vector ^>= 0.7.3
executable gargantext-server executable gargantext-server
import: import:
...@@ -813,9 +817,7 @@ executable gargantext-server ...@@ -813,9 +817,7 @@ executable gargantext-server
, ini ^>= 0.4.1 , ini ^>= 0.4.1
, optparse-generic ^>= 1.4.7 , optparse-generic ^>= 1.4.7
, postgresql-simple ^>= 0.6.4 , postgresql-simple ^>= 0.6.4
, text ^>= 1.2.4.1
, unordered-containers ^>= 0.2.16.0 , unordered-containers ^>= 0.2.16.0
, vector ^>= 0.7.3
executable gargantext-upgrade executable gargantext-upgrade
import: import:
...@@ -832,11 +834,9 @@ executable gargantext-upgrade ...@@ -832,11 +834,9 @@ executable gargantext-upgrade
, gargantext , gargantext
, gargantext-prelude , gargantext-prelude
, postgresql-simple ^>= 0.6.4 , postgresql-simple ^>= 0.6.4
, text ^>= 1.2.4.1
test-suite garg-test-tasty test-suite garg-test-tasty
import: import: tests
defaults
type: exitcode-stdio-1.0 type: exitcode-stdio-1.0
main-is: drivers/tasty/Main.hs main-is: drivers/tasty/Main.hs
other-modules: other-modules:
...@@ -876,28 +876,21 @@ test-suite garg-test-tasty ...@@ -876,28 +876,21 @@ test-suite garg-test-tasty
test test
ghc-options: -Wall -threaded -rtsopts -with-rtsopts=-N ghc-options: -Wall -threaded -rtsopts -with-rtsopts=-N
build-depends: build-depends:
QuickCheck ^>= 2.14.2 aeson-qq
, aeson-qq
, async ^>= 2.2.4 , async ^>= 2.2.4
, boolexpr ^>= 0.2 , boolexpr ^>= 0.3
, bytestring ^>= 0.10.12.0
, case-insensitive , case-insensitive
, conduit ^>= 1.3.4.2 , conduit ^>= 1.3.4.2
, containers ^>= 0.6.5.1 , containers ^>= 0.6.5.1
, crawlerArxiv , crawlerArxiv
, duckling ^>= 0.2.0.0 , duckling ^>= 0.2.0.0
, extra ^>= 1.7.9 , extra ^>= 1.7.9
, fast-logger ^>= 3.0.5 , fast-logger ^>= 3.2.2
, fmt , fmt
, gargantext , gargantext
, gargantext-prelude , gargantext-prelude
, hspec ^>= 2.7.10 , http-api-data ^>= 0.5
, hspec-core , http-client ^>= 0.7.14
, hspec-expectations >= 0.8 && < 0.9
, hspec-wai
, hspec-wai-json
, http-api-data
, http-client ^>= 0.6.4.1
, http-client-tls ^>= 0.3.5.3 , http-client-tls ^>= 0.3.5.3
, http-types , http-types
, lens >= 5.2.2 && < 5.3 , lens >= 5.2.2 && < 5.3
...@@ -913,33 +906,24 @@ test-suite garg-test-tasty ...@@ -913,33 +906,24 @@ test-suite garg-test-tasty
, quickcheck-instances ^>= 0.3.25.2 , quickcheck-instances ^>= 0.3.25.2
, raw-strings-qq , raw-strings-qq
, recover-rtti >= 0.4 && < 0.5 , recover-rtti >= 0.4 && < 0.5
, resource-pool >= 0.2.3.2 && < 0.2.4 , resource-pool ^>= 0.4.0.0
, servant-auth , servant-auth
, servant-auth , servant-auth
, servant-auth-client , servant-auth-client
, servant-client , servant-client
, servant-job , servant-job
, servant-server , servant-server ^>= 0.20
, shelly >= 1.9 && < 2 , shelly >= 1.9 && < 2
, stm ^>= 2.5.0.1 , stm ^>= 2.5.0.1
, tasty ^>= 1.5 , template-haskell ^>= 2.19.0.0
, tasty-hspec
, tasty-hunit
, tasty-quickcheck
, tasty-smallcheck
, template-haskell
, text ^>= 1.2.4.1
, time ^>= 1.9.3
, tmp-postgres >= 1.34.1 && < 1.35 , tmp-postgres >= 1.34.1 && < 1.35
, unordered-containers ^>= 0.2.16.0 , unordered-containers ^>= 0.2.16.0
, validity ^>= 0.11.0.1
, wai , wai
, wai-extra , wai-extra
, warp , warp
test-suite garg-test-hspec test-suite garg-test-hspec
import: import: tests
defaults
type: exitcode-stdio-1.0 type: exitcode-stdio-1.0
main-is: drivers/hspec/Main.hs main-is: drivers/hspec/Main.hs
other-modules: other-modules:
...@@ -961,29 +945,22 @@ test-suite garg-test-hspec ...@@ -961,29 +945,22 @@ test-suite garg-test-hspec
test test
ghc-options: -Wall -threaded -rtsopts -with-rtsopts=-N ghc-options: -Wall -threaded -rtsopts -with-rtsopts=-N
build-depends: build-depends:
QuickCheck ^>= 2.14.2 aeson-qq
, aeson-qq
, async ^>= 2.2.4 , async ^>= 2.2.4
, boolexpr ^>= 0.2 , boolexpr ^>= 0.3
, bytestring ^>= 0.10.12.0
, case-insensitive , case-insensitive
, conduit ^>= 1.3.4.2 , conduit ^>= 1.3.4.2
, containers ^>= 0.6.5.1 , containers ^>= 0.6.5.1
, crawlerArxiv , crawlerArxiv
, duckling ^>= 0.2.0.0 , duckling ^>= 0.2.0.0
, extra ^>= 1.7.9 , extra ^>= 1.7.9
, fast-logger ^>= 3.0.5 , fast-logger ^>= 3.2.2
, fmt , fmt
, gargantext , gargantext
, gargantext-prelude , gargantext-prelude
, hspec ^>= 2.7.10 , http-api-data ^>= 0.5
, hspec-core
, hspec-expectations >= 0.8 && < 0.9
, hspec-wai
, hspec-wai-json
, http-api-data
, http-types , http-types
, http-client ^>= 0.6.4.1 , http-client ^>= 0.7.14
, http-client-tls ^>= 0.3.5.3 , http-client-tls ^>= 0.3.5.3
, lens >= 5.2.2 && < 5.3 , lens >= 5.2.2 && < 5.3
, monad-control >= 1.0.3 && < 1.1 , monad-control >= 1.0.3 && < 1.1
...@@ -998,46 +975,43 @@ test-suite garg-test-hspec ...@@ -998,46 +975,43 @@ test-suite garg-test-hspec
, quickcheck-instances ^>= 0.3.25.2 , quickcheck-instances ^>= 0.3.25.2
, raw-strings-qq , raw-strings-qq
, recover-rtti >= 0.4 && < 0.5 , recover-rtti >= 0.4 && < 0.5
, resource-pool >= 0.2.3.2 && < 0.2.4 , resource-pool ^>= 0.4.0.0
, servant-auth , servant-auth
, servant-auth-client , servant-auth-client
, servant-client , servant-client
, servant-job , servant-job
, servant-server , servant-server ^>= 0.20
, shelly >= 1.9 && < 2 , shelly >= 1.9 && < 2
, stm ^>= 2.5.0.1 , stm ^>= 2.5.0.1
, tasty ^>= 1.5 , template-haskell ^>= 2.19.0.0
, tasty-hspec
, tasty-hunit
, tasty-quickcheck
, tasty-smallcheck
, template-haskell
, text ^>= 1.2.4.1
, time ^>= 1.9.3
, tmp-postgres >= 1.34.1 && < 1.35 , tmp-postgres >= 1.34.1 && < 1.35
, unordered-containers ^>= 0.2.16.0 , unordered-containers ^>= 0.2.16.0
, validity ^>= 0.11.0.1
, wai , wai
, wai-extra , wai-extra
, warp , warp
benchmark garg-bench benchmark garg-bench
import:
defaults
, optimized
main-is: Main.hs main-is: Main.hs
hs-source-dirs: bench hs-source-dirs: bench
type: exitcode-stdio-1.0 type: exitcode-stdio-1.0
other-modules: other-modules:
Paths_gargantext Paths_gargantext
build-depends: base build-depends:
, bytestring , deepseq
, deepseq , gargantext
, gargantext , gargantext-prelude
, gargantext-prelude , tasty-bench
, tasty-bench
ghc-options: "-with-rtsopts=-T -A32m" ghc-options: "-with-rtsopts=-T -A32m"
if impl(ghc >= 8.6) if impl(ghc >= 8.6)
ghc-options: "-with-rtsopts=--nonmoving-gc" ghc-options: "-with-rtsopts=--nonmoving-gc"
executable gargantext-phylo-profile executable gargantext-phylo-profile
import:
defaults
, optimized
main-is: Main.hs main-is: Main.hs
other-modules: other-modules:
Paths_gargantext Paths_gargantext
...@@ -1047,16 +1021,12 @@ executable gargantext-phylo-profile ...@@ -1047,16 +1021,12 @@ executable gargantext-phylo-profile
default-extensions: GHC2021 default-extensions: GHC2021
ghc-options: -Wall -threaded -rtsopts -with-rtsopts=-N -O2 -Wmissing-signatures ghc-options: -Wall -threaded -rtsopts -with-rtsopts=-N -O2 -Wmissing-signatures
build-depends: build-depends:
base aeson ^>= 2.1.2.1
, bytestring , async
, cryptohash
, directory
, gargantext , gargantext
, gargantext-prelude , gargantext-prelude
, shelly , shelly
, text
, async
, cryptohash
, aeson
, split , split
, vector
, directory
default-language: Haskell2010 default-language: Haskell2010
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment