Skip to content

Commit e874beb

Browse files
committed
Try to fix pagination sdist
1 parent c56fda3 commit e874beb

File tree

3 files changed

+15
-8
lines changed

3 files changed

+15
-8
lines changed

doc/cookbook/pagination/Dummy.hs

Lines changed: 0 additions & 3 deletions
This file was deleted.
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
```haskell
2+
module Main (main) where
3+
main :: IO ()
4+
main = return ()
5+
```

doc/cookbook/pagination/pagination.cabal

Lines changed: 10 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -8,20 +8,25 @@ author: Servant Contributors
88
maintainer: [email protected]
99
build-type: Simple
1010
cabal-version: >=1.10
11+
extra-source-files:
12+
Pagination.lhs
13+
dummy/Pagination.lhs
1114
tested-with: GHC==7.8.4, GHC==7.10.3, GHC==8.0.2, GHC==8.2.2, GHC==8.4.2
1215

1316
executable cookbook-pagination
17+
main-is: Pagination.lhs
18+
build-tool-depends: markdown-unlit:markdown-unlit
19+
default-language: Haskell2010
20+
ghc-options: -Wall -pgmL markdown-unlit
21+
1422
if impl(ghc >= 8.0)
15-
main-is: Pagination.lhs
23+
hs-source-dirs: .
1624
build-depends: base >= 4.8 && <4.12
1725
, aeson
1826
, servant
1927
, servant-server
2028
, servant-pagination >= 2.1.0 && < 3.0.0
2129
, warp
22-
default-language: Haskell2010
23-
ghc-options: -Wall -pgmL markdown-unlit
24-
build-tool-depends: markdown-unlit:markdown-unlit
2530
else
26-
main-is: Dummy.hs
31+
hs-source-dirs: dummy
2732
build-depends: base

0 commit comments

Comments
 (0)