Skip to content
package.yaml 1.29 KiB
Newer Older
Yuanle Song's avatar
Yuanle Song committed
name:                reliable-download
version:             0.1.0.0
synopsis:            provide reliable download service via HTTP
description:         reliable-download web application and cli tool
homepage:            "https://github.com/sylecn/reliable-download#readme"
bug-reports:         "https://github.com/sylecn/reliable-download/issues"
license:             GPL-3
author:              Yuanle Song
maintainer:          sylecn@gmail.com
copyright:           "Copyright: (c) 2018 Yuanle Song"
category:            Utilities
extra-source-files:
- README.md

default-extensions:
  - OverloadedStrings
Yuanle Song's avatar
Yuanle Song committed
  - ScopedTypeVariables
Yuanle Song's avatar
Yuanle Song committed

dependencies:
  - base >= 4.7 && < 5
Yuanle Song's avatar
Yuanle Song committed
  - wai
Yuanle Song's avatar
Yuanle Song committed
  - scotty
  - cryptohash
  - bytestring
  - text
  - byteable
  - aeson

library:
  source-dirs: src

executables:
  rd-api:
    source-dirs:      api
    main:             Main.hs
    dependencies:
    - reliable-download
  rd:
    source-dirs:      client
    main:             Main.hs

tests:
Yuanle Song's avatar
Yuanle Song committed
  api-test:
    main: TestApi.hs
    source-dirs: test
    dependencies:
    - reliable-download
    - HUnit
    - hspec
    - hspec-wai
    - http-types
    - wai-extra
    - unordered-containers
    - binary
Yuanle Song's avatar
Yuanle Song committed
  lib-test:
Yuanle Song's avatar
Yuanle Song committed
    main: test.hs
    other-modules:
      - TestLib
Yuanle Song's avatar
Yuanle Song committed
    source-dirs: test
    dependencies:
    - reliable-download
    - HUnit