67 lines
1.8 KiB
Plaintext
67 lines
1.8 KiB
Plaintext
-- Initial rauhala-api.cabal generated by cabal init. For further
|
|
-- documentation, see http://haskell.org/cabal/users-guide/
|
|
|
|
name: rauhala-api
|
|
version: 0.1.0.0
|
|
-- synopsis:
|
|
-- description:
|
|
license: BSD3
|
|
license-file: LICENSE
|
|
author: Mats Rauhala
|
|
maintainer: mats@rauhala.info
|
|
-- copyright:
|
|
category: Web
|
|
build-type: Simple
|
|
extra-source-files: ChangeLog.md
|
|
cabal-version: >=1.10
|
|
|
|
library
|
|
exposed-modules: API
|
|
, API.IPFS
|
|
, Server
|
|
, Server.IPFS
|
|
-- other-modules:
|
|
-- other-extensions:
|
|
build-depends: base >=4.10
|
|
, servant
|
|
, servant-server
|
|
, servant-docs
|
|
, classy-prelude
|
|
, aeson
|
|
, pandoc
|
|
, http-media
|
|
, dns
|
|
, lens
|
|
hs-source-dirs: src
|
|
default-language: Haskell2010
|
|
|
|
executable rauhala-api
|
|
main-is: api.hs
|
|
-- other-modules:
|
|
-- other-extensions:
|
|
build-depends: base >=4.10
|
|
, rauhala-api
|
|
, servant-server
|
|
, wai
|
|
, wai-cors
|
|
, warp
|
|
, mtl
|
|
, classy-prelude
|
|
, text
|
|
, wai
|
|
hs-source-dirs: executables
|
|
default-language: Haskell2010
|
|
|
|
executable generator
|
|
main-is: generator.hs
|
|
-- other-modules:
|
|
-- other-extensions:
|
|
build-depends: base >=4.10
|
|
, rauhala-api
|
|
, servant-js
|
|
, mtl
|
|
, classy-prelude
|
|
, text
|
|
hs-source-dirs: executables
|
|
default-language: Haskell2010
|