Add an importer binary.
This commit is contained in:
@@ -63,6 +63,7 @@ library
|
||||
Parsers.KOReader,
|
||||
Parsers.Readwise,
|
||||
Config,
|
||||
Database,
|
||||
-- Modules included in this library but not exported.
|
||||
-- other-modules:
|
||||
|
||||
@@ -124,6 +125,43 @@ executable quotes-api
|
||||
-- Base language which the package is written in.
|
||||
default-language: Haskell2010
|
||||
|
||||
|
||||
executable quotes-importer
|
||||
-- Import common warning flags.
|
||||
import: warnings
|
||||
|
||||
-- .hs or .lhs file containing the Main module.
|
||||
main-is: Main.hs
|
||||
|
||||
-- Modules included in this executable, other than Main.
|
||||
-- other-modules:
|
||||
|
||||
-- LANGUAGE extensions used by modules in this package.
|
||||
-- other-extensions:
|
||||
|
||||
-- Other library packages from which modules are imported.
|
||||
build-depends:
|
||||
base ^>=4.16.3.0,
|
||||
sqlite-simple ^>=0.4.18.0,
|
||||
text ^>=1.2.5.0,
|
||||
servant-server ^>=0.19.1,
|
||||
wai,
|
||||
warp,
|
||||
aeson,
|
||||
deriving-aeson,
|
||||
quotes-api,
|
||||
servant-blaze,
|
||||
optparse-applicative,
|
||||
argon2 >= 1.3.0,
|
||||
text-short,
|
||||
bytestring,
|
||||
QuickCheck,
|
||||
-- Directories containing source files.
|
||||
hs-source-dirs: importer
|
||||
|
||||
-- Base language which the package is written in.
|
||||
default-language: Haskell2010
|
||||
|
||||
test-suite quotes-api-test
|
||||
-- Import common warning flags.
|
||||
import: warnings
|
||||
|
||||
Reference in New Issue
Block a user