-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
List test suite file dependencies in extra-source-files so that Hackage is able to run the test suite. Update package metadata. Use new .github workflows. Transferred repo back to byteverse.
- Loading branch information
1 parent
90c115a
commit ae31eb1
Showing
5 changed files
with
55 additions
and
24 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
@byteverse/l3c |
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 |
---|---|---|
@@ -0,0 +1,11 @@ | ||
name: build | ||
on: | ||
pull_request: | ||
branches: | ||
- "*" | ||
|
||
jobs: | ||
call-workflow: | ||
uses: byteverse/.github/.github/workflows/build-matrix.yaml@main | ||
with: | ||
cabal-file: http-interchange.cabal |
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 |
---|---|---|
@@ -0,0 +1,10 @@ | ||
name: release | ||
on: | ||
push: | ||
tags: | ||
- "*" | ||
|
||
jobs: | ||
call-workflow: | ||
uses: byteverse/.github/.github/workflows/release.yaml@main | ||
secrets: inherit |
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,34 +1,40 @@ | ||
cabal-version: 3.0 | ||
name: http-interchange | ||
version: 0.3.2.1 | ||
license: BSD-3-Clause | ||
license-file: LICENSE | ||
author: Andrew Martin | ||
maintainer: [email protected] | ||
synopsis: Types and serialization for HTTP | ||
cabal-version: 3.0 | ||
name: http-interchange | ||
version: 0.3.2.1 | ||
license: BSD-3-Clause | ||
license-file: LICENSE | ||
author: Andrew Martin | ||
maintainer: [email protected] | ||
homepage: https://github.com/byteverse/http-interchange | ||
bug-reports: https://github.com/byteverse/http-interchange/issues | ||
synopsis: Types and serialization for HTTP | ||
description: | ||
Types and serialization for HTTP. This includes things like request | ||
line, status line, and headers. There is also a collection type | ||
for headers that supports fast, case-insensitive lookup. | ||
|
||
copyright: 2023 Andrew Martin | ||
category: Data | ||
build-type: Simple | ||
copyright: 2023 Andrew Martin | ||
category: Data | ||
build-type: Simple | ||
extra-doc-files: | ||
CHANGELOG.md | ||
README.md | ||
|
||
extra-source-files: | ||
golden/request/*.json | ||
golden/request/*.txt | ||
golden/request/*.input | ||
golden/request/*.output | ||
golden/response/*.json | ||
golden/response/*.txt | ||
golden/response/*.input | ||
golden/response/*.output | ||
|
||
tested-with: GHC ==9.4.8 || ==9.6.3 || ==9.8.1 | ||
|
||
common build-settings | ||
default-language: GHC2021 | ||
ghc-options: -Wall -Wunused-packages | ||
|
||
library | ||
ghc-options: -Wall -O2 | ||
import: build-settings | ||
ghc-options: -O2 | ||
exposed-modules: | ||
Http.Bodied | ||
Http.Header | ||
|
@@ -46,15 +52,13 @@ library | |
, primitive >=0.9.0 | ||
, text >=2.0 | ||
|
||
hs-source-dirs: src | ||
default-language: GHC2021 | ||
hs-source-dirs: src | ||
|
||
test-suite test | ||
ghc-options: -Wall | ||
default-language: GHC2021 | ||
type: exitcode-stdio-1.0 | ||
hs-source-dirs: test | ||
main-is: Main.hs | ||
import: build-settings | ||
type: exitcode-stdio-1.0 | ||
hs-source-dirs: test | ||
main-is: Main.hs | ||
build-depends: | ||
, aeson >=2.1 | ||
, base >=4.16.3.0 | ||
|
@@ -66,3 +70,7 @@ test-suite test | |
, primitive >=0.9.0 | ||
, tasty >=1.4.3 | ||
, tasty-golden >=2.3.5 | ||
|
||
source-repository head | ||
type: git | ||
location: git://github.com/byteverse/http-interchange.git |