Commit 1d721ba3 authored by Alexandre Delanoë's avatar Alexandre Delanoë

[BIN] gargantext-client config for stack

parent 1552563b
Pipeline #2526 passed with stage
in 55 minutes and 53 seconds
module Auth where module Auth where
import Prelude
import Data.Maybe
import Core import Core
import Options import Options
......
module Core (problem, whenVerbose) where module Core (problem, whenVerbose) where
import Prelude
import Options import Options
import Options.Generic import Options.Generic
......
...@@ -2,11 +2,11 @@ module Main where ...@@ -2,11 +2,11 @@ module Main where
import Control.Monad import Control.Monad
import Network.HTTP.Client import Network.HTTP.Client
import Options.Generic
import Servant.Client
import Options import Options
import Options.Generic
import Prelude
import Script (script) import Script (script)
import Servant.Client
main :: IO () main :: IO ()
main = do main = do
......
{-# LANGUAGE TypeOperators #-} {-# LANGUAGE TypeOperators #-}
module Options where module Options where
import Prelude
import Data.Maybe
import Options.Generic import Options.Generic
-- | Some general options to be specified on the command line. -- | Some general options to be specified on the command line.
......
module Script (script) where module Script (script) where
import Control.Monad.IO.Class
import Gargantext.API.Client
import Servant.Client
import Auth import Auth
import Control.Monad.IO.Class
import Core import Core
import Gargantext.API.Client
import Options import Options
import Prelude
import Servant.Client
import Tracking import Tracking
-- | An example script. Tweak, rebuild and re-run the executable to see the -- | An example script. Tweak, rebuild and re-run the executable to see the
......
...@@ -8,6 +8,7 @@ module Tracking ...@@ -8,6 +8,7 @@ module Tracking
import Core import Core
import Options import Options
import Prelude
import Control.Monad.IO.Class import Control.Monad.IO.Class
import Data.List (intersperse) import Data.List (intersperse)
......
...@@ -57,6 +57,7 @@ library: ...@@ -57,6 +57,7 @@ library:
- Gargantext.API.Ngrams.Prelude - Gargantext.API.Ngrams.Prelude
- Gargantext.API.Admin.Settings - Gargantext.API.Admin.Settings
- Gargantext.API.Admin.EnvTypes - Gargantext.API.Admin.EnvTypes
- Gargantext.API.Admin.Auth.Types
- Gargantext.API.Admin.Types - Gargantext.API.Admin.Types
- Gargantext.API.Prelude - Gargantext.API.Prelude
- Gargantext.API.Client - Gargantext.API.Client
...@@ -327,6 +328,49 @@ executables: ...@@ -327,6 +328,49 @@ executables:
- unordered-containers - unordered-containers
- full-text-search - full-text-search
gargantext-client:
main: Main.hs
source-dirs: bin/gargantext-client
exposed-modules:
- Auth
- Core
- Options
- Script
- Tracking
- Paths_gargantext
ghc-options:
- -Wall
- -threaded
- -rtsopts
- -with-rtsopts=-N
- -O2
- -Wmissing-signatures
default-extensions:
- DataKinds
- DeriveGeneric
- FlexibleContexts
- FlexibleInstances
- GeneralizedNewtypeDeriving
- MultiParamTypeClasses
- NamedFieldPuns
- NoImplicitPrelude
- OverloadedStrings
- RankNTypes
- RecordWildCards
dependencies:
- base
- extra
- servant
- text
- optparse-generic
- exceptions
- servant-client
- servant-auth-client
- gargantext
- ekg-json
- http-client
gargantext-phylo: gargantext-phylo:
main: Main.hs main: Main.hs
source-dirs: bin/gargantext-phylo source-dirs: bin/gargantext-phylo
......
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