Skip to content

Commit

Permalink
Support GHC 9.8.4
Browse files Browse the repository at this point in the history
  • Loading branch information
Kleidukos committed Dec 6, 2024
1 parent 44eed3d commit 51aacf6
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 10 deletions.
4 changes: 0 additions & 4 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -93,8 +93,6 @@ jobs:
if: success() || failure() # always run even if the previous step fails
with:
report_paths: "report.xml"
cp ${bin} distribution/print-api
echo "$GITHUB_WORKSPACE/distribution" >> "$GITHUB_PATH"

- name: Test
run: cabal test --project-file=cabal.static.project --test-options "--xml=../print-api/report.xml" all
Expand Down Expand Up @@ -191,8 +189,6 @@ jobs:
if: success() || failure() # always run even if the previous step fails
with:
report_paths: "report.xml"
cp ${bin} distribution/print-api
echo "$GITHUB_WORKSPACE/distribution" >> "$GITHUB_PATH"

- name: Test
run: cabal test --project-file=cabal.static.project --test-options "--xml=../print-api/report.xml" all
Expand Down
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@

* Add support for module-level Haddock attribute `Visibility: Public` in order to filter modules.
The command-line argument `--public-only` can be combined with `--modules-ignore-list`.

* Support GHC 9.8.4

## 0.1.1.0

* Add support for user-supplied ignore lists of modules ([#18](https://github.com/Kleidukos/print-api/pull/18))
File renamed without changes.
12 changes: 6 additions & 6 deletions print-api.cabal
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,9 @@ copyright: © 2023 Ben Gamari, 2024 Hécate Kleidukos
extra-source-files:
compat/9.10.1/GHC/Compat.hs
compat/9.6.6/GHC/Compat.hs
compat/9.8.2/GHC/Compat.hs
compat/9.8.4/GHC/Compat.hs

tested-with: GHC ==9.6.6 || ==9.8.2 || ==9.10.1
tested-with: GHC ==9.6.6 || ==9.8.4 || ==9.10.1

common extensions
default-extensions:
Expand Down Expand Up @@ -72,8 +72,8 @@ library
if impl(ghc ==9.10.1)
hs-source-dirs: compat/9.10.1

if impl(ghc ==9.8.2)
hs-source-dirs: compat/9.8.2
if impl(ghc ==9.8.4)
hs-source-dirs: compat/9.8.4

if impl(ghc ==9.6.6)
hs-source-dirs: compat/9.6.6
Expand Down Expand Up @@ -128,11 +128,11 @@ executable print-api-9.6.6
else
buildable: False

executable print-api-9.8.2
executable print-api-9.8.4
import: print-api-common
main-is: Main.hs

if impl(ghc ==9.8.2)
if impl(ghc ==9.8.4)
buildable: True

else
Expand Down

0 comments on commit 51aacf6

Please sign in to comment.