From 1550a4c913c9b6f8ea2b00bb024bcc9e17518b12 Mon Sep 17 00:00:00 2001 From: ymeister <47071325+ymeister@users.noreply.github.com> Date: Thu, 8 Aug 2024 08:05:13 +0400 Subject: [PATCH] Build with ghc 9.* --- .github/workflows/haskell.yml | 2 +- .gitignore | 1 + cabal.dependencies.project | 2 ++ cabal.project | 3 ++ reflex-fsnotify.cabal | 67 +++++++++++++++++++---------------- 5 files changed, 43 insertions(+), 32 deletions(-) create mode 100644 cabal.dependencies.project create mode 100644 cabal.project diff --git a/.github/workflows/haskell.yml b/.github/workflows/haskell.yml index 02250f2..5f99654 100644 --- a/.github/workflows/haskell.yml +++ b/.github/workflows/haskell.yml @@ -6,7 +6,7 @@ jobs: build: strategy: matrix: - ghc: ['8.6.5', '8.8.4', '8.10.7'] + ghc: ['8.6.5', '8.8.4', '8.10.7', '9.0.1', '9.2.5', '9.4.5', '9.6.1', '9.8.2', '9.10.1'] os: ['ubuntu-latest', 'macos-latest'] runs-on: ${{ matrix.os }} diff --git a/.gitignore b/.gitignore index fd5ffbe..24caa9f 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,3 @@ dist/ dist-newstyle/ +cabal.project.local diff --git a/cabal.dependencies.project b/cabal.dependencies.project new file mode 100644 index 0000000..d08d38e --- /dev/null +++ b/cabal.dependencies.project @@ -0,0 +1,2 @@ +package unix + flags: +os-string diff --git a/cabal.project b/cabal.project new file mode 100644 index 0000000..6d96e08 --- /dev/null +++ b/cabal.project @@ -0,0 +1,3 @@ +packages: . + +import: cabal.dependencies.project diff --git a/reflex-fsnotify.cabal b/reflex-fsnotify.cabal index 1ecb455..bbf014b 100644 --- a/reflex-fsnotify.cabal +++ b/reflex-fsnotify.cabal @@ -1,35 +1,40 @@ -cabal-version: >=1.10 -name: reflex-fsnotify -version: 0.3.0.0 -synopsis: Reflex FRP interface for watching files +cabal-version: >=1.10 +name: reflex-fsnotify +version: 0.3.0.0 +license: BSD3 +license-file: LICENSE +copyright: 2020 Obsidian Systems LLC +maintainer: maintainer@obsidian.systems +author: Obsidian Systems LLC +tested-with: + ghc ==8.10.7 || ==8.8.4 || ==8.6.5 || ==9.0.1 || ==9.2.5 || ==9.4.5 || ==9.6.1 || ==9.8.2 || ==9.10.1 + +bug-reports: https://github.com/reflex-frp/reflex-fsnotify/issues +synopsis: Reflex FRP interface for watching files description: - Watch files and directories for changes using a functional-reactive interface! - . - -bug-reports: https://github.com/reflex-frp/reflex-fsnotify/issues -license: BSD3 -license-file: LICENSE -author: Obsidian Systems LLC -maintainer: maintainer@obsidian.systems -copyright: 2020 Obsidian Systems LLC -category: System, FRP -build-type: Simple -extra-source-files: ChangeLog.md - README.md -tested-with: GHC ==8.10.7 || ==8.8.4 || ==8.6.5 + Watch files and directories for changes using a functional-reactive interface! + . + -library - exposed-modules: Reflex.FSNotify - build-depends: base >=4.10 && <4.19 - , containers >= 0.6 && < 0.7 - , directory >= 1.3 && < 1.4 - , filepath >= 1.4 && < 1.5 - , fsnotify >= 0.4 && < 0.5 - , reflex >= 0.5 && < 1 - hs-source-dirs: src - default-language: Haskell2010 - ghc-options: -Wall +category: System, FRP +build-type: Simple +extra-source-files: + ChangeLog.md + README.md source-repository head - type: git - location: https://github.com/reflex-frp/reflex-fsnotify + type: git + location: https://github.com/reflex-frp/reflex-fsnotify + +library + exposed-modules: Reflex.FSNotify + hs-source-dirs: src + default-language: Haskell2010 + ghc-options: -Wall + build-depends: + base >=4.10 && <4.21, + containers >=0.6 && <0.8, + directory >=1.3 && <1.4, + filepath >=1.4 && <1.6, + fsnotify >=0.4 && <0.5, + reflex >=0.5 && <1