-
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.
- Loading branch information
1 parent
3a0ea96
commit a8118ed
Showing
5 changed files
with
61 additions
and
22 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-exchange-instantiations.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,26 +1,37 @@ | ||
cabal-version: 3.0 | ||
name: http-exchange-instantiations | ||
version: 0.1.3.0 | ||
version: 0.1.3.1 | ||
synopsis: Instantiations of http-exchange | ||
|
||
-- description: | ||
description: Instantiations of http-exchange. | ||
license: BSD-3-Clause | ||
license-file: LICENSE | ||
author: Andrew Martin | ||
maintainer: [email protected] | ||
maintainer: [email protected] | ||
homepage: https://github.com/byteverse/http-exchange-instantiations | ||
bug-reports: | ||
https://github.com/byteverse/http-exchange-instantiations/issues | ||
|
||
copyright: 2023 Andrew Martin | ||
category: Network | ||
build-type: Simple | ||
extra-doc-files: CHANGELOG.md | ||
extra-doc-files: | ||
CHANGELOG.md | ||
README.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 chanimpl | ||
ghc-options: -Wall | ||
import: build-settings | ||
ghc-options: -O2 | ||
exposed-modules: | ||
SocketChannel | ||
SocketInterruptibleChannel | ||
TlsChannel | ||
|
||
-- TlsInterruptibleChannel | ||
build-depends: | ||
, base >=4.16.3.0 && <5 | ||
, byteslice >=0.2.11 | ||
|
@@ -31,49 +42,48 @@ library chanimpl | |
, stm >=2.5.1.0 | ||
, tls >=1.8 | ||
|
||
hs-source-dirs: src-chanimpl | ||
default-language: GHC2021 | ||
hs-source-dirs: src-chanimpl | ||
|
||
library | ||
ghc-options: -Wall | ||
import: build-settings | ||
ghc-options: -O2 | ||
exposed-modules: | ||
Http.Exchange.Network | ||
Http.Exchange.Tls | ||
|
||
build-depends: | ||
, base >=4.16.3.0 | ||
, bytestring >=0.11 | ||
, chanimpl | ||
, http-exchange >=0.1.1 | ||
, http-exchange ==0.2.0.0 | ||
, http-interchange >=0.3.1 | ||
, network >=3.1.4 | ||
, network-unexceptional >=0.2 | ||
, stm >=2.5.1.0 | ||
, tls >=1.7 | ||
|
||
hs-source-dirs: src | ||
default-language: GHC2021 | ||
hs-source-dirs: src | ||
mixins: | ||
http-exchange (Exchange as SocketExchange) requires (Channel as SocketChannel), | ||
http-exchange (Exchange as TlsExchange) requires (Channel as TlsChannel), | ||
http-exchange (Exchange as SocketInterruptibleExchange) requires (Channel as SocketInterruptibleChannel) | ||
|
||
executable http-insecure | ||
ghc-options: -Wall | ||
main-is: Main.hs | ||
import: build-settings | ||
ghc-options: -O2 | ||
main-is: Main.hs | ||
build-depends: | ||
, base >=4.16.3.0 | ||
, http-exchange-instantiations | ||
, http-interchange >=0.3.1 | ||
, network >=3.1.4 | ||
, pretty-show >=1.10 | ||
|
||
hs-source-dirs: app-http-insecure | ||
default-language: GHC2021 | ||
hs-source-dirs: app-http-insecure | ||
|
||
executable http-secure | ||
ghc-options: -Wall | ||
main-is: Main.hs | ||
import: build-settings | ||
ghc-options: -O2 | ||
main-is: Main.hs | ||
build-depends: | ||
, base >=4.16.3.0 | ||
, data-default >=0.7.1 | ||
|
@@ -83,5 +93,8 @@ executable http-secure | |
, pretty-show >=1.10 | ||
, tls >=1.7 | ||
|
||
hs-source-dirs: app-http-secure | ||
default-language: GHC2021 | ||
hs-source-dirs: app-http-secure | ||
|
||
source-repository head | ||
type: git | ||
location: git://github.com/byteverse/http-exchange-instantiations.git |