Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 2 additions & 3 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ on:

jobs:
call-workflow:
uses: byteverse/.github/.github/workflows/build.yaml@main
secrets: inherit
uses: byteverse/.github/.github/workflows/build-matrix.yaml@main
with:
release: false
cabal-file: array-builder.cabal
4 changes: 1 addition & 3 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,5 @@ on:

jobs:
call-workflow:
uses: byteverse/.github/.github/workflows/build.yaml@main
uses: byteverse/.github/.github/workflows/release.yaml@main
secrets: inherit
with:
release: true
24 changes: 13 additions & 11 deletions array-builder.cabal
Original file line number Diff line number Diff line change
Expand Up @@ -12,16 +12,22 @@ maintainer: amartin@layer3com.com
copyright: 2019 Andrew Martin
category: Data
extra-doc-files: CHANGELOG.md
tested-with: GHC ==9.4.8 || ==9.6.3 || ==9.8.1

common build-settings
default-language: Haskell2010
ghc-options: -Wall -Wunused-packages

library
import: build-settings
exposed-modules:
Data.Builder
Data.Builder.Catenable
Data.Builder.Catenable.Bytes
Data.Builder.Catenable.Text
Data.Builder.ST

other-modules: Compat
other-modules: Compat
build-depends:
, array-chunks >=0.1 && <0.2
, base >=4.12 && <5
Expand All @@ -30,33 +36,29 @@ library
, bytestring >=0.11.5 && <0.12
, natural-arithmetic >=0.1.3 && <0.3
, primitive >=0.6.4 && <0.10
, run-st >=0.1 && <0.2
, text-short >=0.1.3 && <0.2

hs-source-dirs: src
hs-source-dirs: src

if impl(ghc >=8.9)
hs-source-dirs: src-post-8.9

else
hs-source-dirs: src-pre-8.9

default-language: Haskell2010
ghc-options: -Wall -O2
ghc-options: -O2

test-suite test
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:
, array-builder
, base
, tasty
, tasty-hunit

ghc-options: -Wall -O2
default-language: Haskell2010

source-repository head
type: git
location: git://github.com/byteverse/array-builder.git