-
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.
Update package metadata. Use new .github workflows. Removed unused deps.
- Loading branch information
1 parent
4f6511c
commit 2fe27b4
Showing
5 changed files
with
56 additions
and
23 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@ci | ||
with: | ||
cabal-file: http-exchange.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@ci | ||
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,72 +1,79 @@ | ||
cabal-version: 3.0 | ||
name: http-exchange | ||
version: 0.2.0.0 | ||
version: 0.2.0.1 | ||
synopsis: Perform HTTP Requests | ||
description: | ||
Perform HTTP requests. This uses backpack and is agnostic to the backend. | ||
|
||
license: BSD-3-Clause | ||
license-file: LICENSE | ||
author: Andrew Martin | ||
maintainer: [email protected] | ||
maintainer: [email protected] | ||
homepage: https://github.com/byteverse/http-exchange | ||
bug-reports: https://github.com/byteverse/http-exchange/issues | ||
copyright: 2023 Andrew Martin | ||
category: Data | ||
build-type: Simple | ||
extra-doc-files: CHANGELOG.md | ||
tested-with: GHC ==9.4.8 || ==9.6.3 || ==9.8.1 | ||
|
||
common build-settings | ||
default-language: GHC2021 | ||
ghc-options: -Wall -Wunused-packages | ||
|
||
library types | ||
ghc-options: -Wall | ||
exposed-modules: Http.Exchange.Types | ||
import: build-settings | ||
ghc-options: -O2 | ||
exposed-modules: Http.Exchange.Types | ||
build-depends: | ||
, base >=4.16.3.0 && <5 | ||
, byteslice >=0.2.11.1 | ||
|
||
hs-source-dirs: src-types | ||
default-language: GHC2021 | ||
hs-source-dirs: src-types | ||
|
||
library testdep | ||
ghc-options: -Wall | ||
exposed-modules: OkChannel | ||
import: build-settings | ||
ghc-options: -O2 | ||
exposed-modules: OkChannel | ||
build-depends: | ||
, base >=4.16.3.0 && <5 | ||
, byteslice >=0.2.11 | ||
, types | ||
|
||
hs-source-dirs: src-testdep | ||
default-language: GHC2021 | ||
hs-source-dirs: src-testdep | ||
|
||
library | ||
signatures: Channel | ||
ghc-options: -Wall | ||
exposed-modules: Exchange | ||
import: build-settings | ||
signatures: Channel | ||
ghc-options: -O2 | ||
exposed-modules: Exchange | ||
build-depends: | ||
, base >=4.16.3.0 && <5 | ||
, byteslice >=0.2.11 | ||
, bytesmith >=0.3.9 | ||
, http-interchange >=0.3.1 | ||
, primitive >=0.8 | ||
, text >=2.0 | ||
, types | ||
|
||
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: | ||
, base >=4.16.3.0 && <5 | ||
, byteslice | ||
, bytestring >=0.11 | ||
, http-exchange | ||
, http-interchange >=0.3.1 | ||
, primitive >=0.8 | ||
, tasty >=1.4.3 | ||
, tasty-hunit >=0.10.0.3 | ||
, testdep | ||
|
||
mixins: | ||
http-exchange (Exchange as OkExchange) requires (Channel as OkChannel) | ||
|
||
source-repository head | ||
type: git | ||
location: git://github.com/byteverse/http-exchange.git |