Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support GHC 9.8.4 #33

Merged
merged 1 commit into from
Dec 6, 2024
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
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
Loading