Try to fix pagination sdist
This commit is contained in:
parent
c56fda3869
commit
e874beba18
3 changed files with 15 additions and 8 deletions
|
@ -1,3 +0,0 @@
|
||||||
module Main where
|
|
||||||
main :: IO ()
|
|
||||||
main = return ()
|
|
5
doc/cookbook/pagination/dummy/Pagination.lhs
Normal file
5
doc/cookbook/pagination/dummy/Pagination.lhs
Normal file
|
@ -0,0 +1,5 @@
|
||||||
|
```haskell
|
||||||
|
module Main (main) where
|
||||||
|
main :: IO ()
|
||||||
|
main = return ()
|
||||||
|
```
|
|
@ -8,20 +8,25 @@ author: Servant Contributors
|
||||||
maintainer: haskell-servant-maintainers@googlegroups.com
|
maintainer: haskell-servant-maintainers@googlegroups.com
|
||||||
build-type: Simple
|
build-type: Simple
|
||||||
cabal-version: >=1.10
|
cabal-version: >=1.10
|
||||||
|
extra-source-files:
|
||||||
|
Pagination.lhs
|
||||||
|
dummy/Pagination.lhs
|
||||||
tested-with: GHC==7.8.4, GHC==7.10.3, GHC==8.0.2, GHC==8.2.2, GHC==8.4.2
|
tested-with: GHC==7.8.4, GHC==7.10.3, GHC==8.0.2, GHC==8.2.2, GHC==8.4.2
|
||||||
|
|
||||||
executable cookbook-pagination
|
executable cookbook-pagination
|
||||||
|
main-is: Pagination.lhs
|
||||||
|
build-tool-depends: markdown-unlit:markdown-unlit
|
||||||
|
default-language: Haskell2010
|
||||||
|
ghc-options: -Wall -pgmL markdown-unlit
|
||||||
|
|
||||||
if impl(ghc >= 8.0)
|
if impl(ghc >= 8.0)
|
||||||
main-is: Pagination.lhs
|
hs-source-dirs: .
|
||||||
build-depends: base >= 4.8 && <4.12
|
build-depends: base >= 4.8 && <4.12
|
||||||
, aeson
|
, aeson
|
||||||
, servant
|
, servant
|
||||||
, servant-server
|
, servant-server
|
||||||
, servant-pagination >= 2.1.0 && < 3.0.0
|
, servant-pagination >= 2.1.0 && < 3.0.0
|
||||||
, warp
|
, warp
|
||||||
default-language: Haskell2010
|
|
||||||
ghc-options: -Wall -pgmL markdown-unlit
|
|
||||||
build-tool-depends: markdown-unlit:markdown-unlit
|
|
||||||
else
|
else
|
||||||
main-is: Dummy.hs
|
hs-source-dirs: dummy
|
||||||
build-depends: base
|
build-depends: base
|
||||||
|
|
Loading…
Reference in a new issue