-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #31 from schell/servant-0.16
Support for servant-0.16 WIP
- Loading branch information
Showing
9 changed files
with
144 additions
and
134 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
name: servant-checked-exceptions-core | ||
version: 2.0.0.0 | ||
version: 2.1.0.0 | ||
synopsis: Checked exceptions for Servant APIs. | ||
description: Please see <https://github.com/cdepillabout/servant-checked-exceptions#readme README.md>. | ||
homepage: https://github.com/cdepillabout/servant-checked-exceptions | ||
|
@@ -8,7 +8,7 @@ license-file: LICENSE | |
author: Dennis Gosnell | ||
maintainer: [email protected] | ||
copyright: 2017-2018 Dennis Gosnell | ||
category: Text | ||
category: Web | ||
build-type: Simple | ||
extra-source-files: CHANGELOG.md | ||
, README.md | ||
|
@@ -34,7 +34,6 @@ library | |
build-depends: base >= 4.9 && < 5 | ||
, aeson | ||
, bytestring | ||
, deepseq | ||
, http-media | ||
, http-types | ||
, profunctors | ||
|
@@ -48,7 +47,7 @@ library | |
other-extensions: QuasiQuotes | ||
, TemplateHaskell | ||
|
||
executable servant-checked-exceptions-example-docs | ||
executable servant-checked-exceptions-core-example-docs | ||
main-is: Docs.hs | ||
other-modules: Api | ||
hs-source-dirs: example | ||
|
@@ -68,7 +67,7 @@ executable servant-checked-exceptions-example-docs | |
else | ||
buildable: False | ||
|
||
test-suite servant-checked-exceptions-doctest | ||
test-suite servant-checked-exceptions-core-doctest | ||
if impl(ghcjs) | ||
buildable: False | ||
type: exitcode-stdio-1.0 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
name: servant-checked-exceptions | ||
version: 2.0.0.0 | ||
version: 2.1.0.0 | ||
synopsis: Checked exceptions for Servant APIs. | ||
description: Please see <https://github.com/cdepillabout/servant-checked-exceptions#readme README.md>. | ||
homepage: https://github.com/cdepillabout/servant-checked-exceptions | ||
|
@@ -8,7 +8,7 @@ license-file: LICENSE | |
author: Dennis Gosnell | ||
maintainer: [email protected] | ||
copyright: 2017-2018 Dennis Gosnell | ||
category: Text | ||
category: Web | ||
build-type: Simple | ||
extra-source-files: CHANGELOG.md | ||
, README.md | ||
|
@@ -27,20 +27,13 @@ library | |
, Servant.Checked.Exceptions.Internal.Servant.Client | ||
, Servant.Checked.Exceptions.Internal.Servant.Server | ||
build-depends: base >= 4.9 && < 5 | ||
, aeson | ||
, bytestring | ||
, deepseq | ||
, http-media | ||
, http-types | ||
, profunctors | ||
, tagged | ||
, servant >= 0.12 | ||
, servant >= 0.16 | ||
, servant-checked-exceptions-core | ||
, servant-client >= 0.12 | ||
, servant-client-core >= 0.12 | ||
, servant-docs >= 0.10 | ||
, servant-server >= 0.12 | ||
, text | ||
, servant-client >= 0.16 | ||
, servant-client-core >= 0.16 | ||
, servant-server >= 0.16 | ||
, wai | ||
, world-peace | ||
default-language: Haskell2010 | ||
|
@@ -70,26 +63,6 @@ executable servant-checked-exceptions-example-client | |
else | ||
buildable: False | ||
|
||
executable servant-checked-exceptions-example-docs | ||
main-is: Docs.hs | ||
other-modules: Api | ||
hs-source-dirs: example | ||
build-depends: base | ||
, aeson | ||
, http-api-data | ||
, http-types | ||
, servant | ||
, servant-checked-exceptions | ||
, servant-docs | ||
, text | ||
default-language: Haskell2010 | ||
ghc-options: -Wall -threaded -rtsopts -with-rtsopts=-N | ||
|
||
if flag(buildexample) | ||
buildable: True | ||
else | ||
buildable: False | ||
|
||
executable servant-checked-exceptions-example-server | ||
main-is: Server.hs | ||
other-modules: Api | ||
|
@@ -98,7 +71,6 @@ executable servant-checked-exceptions-example-server | |
, aeson | ||
, http-api-data | ||
, http-types | ||
, natural-transformation | ||
, servant | ||
, servant-checked-exceptions | ||
, servant-server | ||
|
@@ -119,11 +91,10 @@ test-suite servant-checked-exceptions-test | |
other-modules: | ||
hs-source-dirs: test | ||
build-depends: base | ||
, bytestring | ||
, hspec-wai | ||
, http-types | ||
, tasty | ||
, tasty-hspec | ||
, tasty-hspec >= 0.2 | ||
, tasty-hunit | ||
, servant | ||
, servant-checked-exceptions | ||
|
Oops, something went wrong.