Skip to content

Commit

Permalink
More work on windows
Browse files Browse the repository at this point in the history
  • Loading branch information
thomasjm committed Nov 18, 2023
1 parent 815f553 commit 825b070
Show file tree
Hide file tree
Showing 6 changed files with 11 additions and 33 deletions.
8 changes: 3 additions & 5 deletions demos/demo-custom-exceptions/demo-custom-exceptions.cabal
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
cabal-version: 1.12

-- This file has been generated from package.yaml by hpack version 0.35.0.
-- This file has been generated from package.yaml by hpack version 0.36.0.
--
-- see: https://github.com/sol/hpack

Expand Down Expand Up @@ -28,11 +28,9 @@ executable demo-custom-exceptions
ghc-options: -threaded -rtsopts -with-rtsopts=-N
build-depends:
base
, brick
, sandwich
, text
, time
, vty
default-language: Haskell2010
if !os(windows)
build-depends:
brick
, vty
9 changes: 2 additions & 7 deletions demos/demo-custom-exceptions/package.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,16 +4,11 @@ license: BSD3

dependencies:
- base
- brick
- sandwich
- text
- time

when:
- condition: "!os(windows)"
dependencies:
- brick
- vty

- vty

default-extensions:
- OverloadedStrings
Expand Down
9 changes: 1 addition & 8 deletions sandwich-hedgehog/package.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,11 +25,7 @@ dependencies:
- text
- time
- wl-pprint-annotated

when:
- condition: "!os(windows)"
dependencies:
- vty
- vty

default-extensions:
- OverloadedStrings
Expand All @@ -45,9 +41,6 @@ library:
source-dirs: src
exposed-modules:
- Test.Sandwich.Hedgehog
when:
- condition: "!os(windows)"
source-dirs: unix-src

tests:
sandwich-hedgehog-test:
Expand Down
16 changes: 4 additions & 12 deletions sandwich-hedgehog/sandwich-hedgehog.cabal
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
cabal-version: 1.12

-- This file has been generated from package.yaml by hpack version 0.35.1.
-- This file has been generated from package.yaml by hpack version 0.36.0.
--
-- see: https://github.com/sol/hpack

Expand Down Expand Up @@ -28,6 +28,7 @@ library
exposed-modules:
Test.Sandwich.Hedgehog
other-modules:
Test.Sandwich.Hedgehog.Render
Paths_sandwich_hedgehog
hs-source-dirs:
src
Expand All @@ -51,16 +52,9 @@ library
, string-interpolate
, text
, time
, vty
, wl-pprint-annotated
default-language: Haskell2010
if !os(windows)
build-depends:
vty
if !os(windows)
other-modules:
Test.Sandwich.Hedgehog.Render
hs-source-dirs:
unix-src

test-suite sandwich-hedgehog-test
type: exitcode-stdio-1.0
Expand Down Expand Up @@ -90,8 +84,6 @@ test-suite sandwich-hedgehog-test
, string-interpolate
, text
, time
, vty
, wl-pprint-annotated
default-language: Haskell2010
if !os(windows)
build-depends:
vty
2 changes: 1 addition & 1 deletion sandwich-webdriver/sandwich-webdriver.cabal
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
cabal-version: 1.12

-- This file has been generated from package.yaml by hpack version 0.35.2.
-- This file has been generated from package.yaml by hpack version 0.36.0.
--
-- see: https://github.com/sol/hpack

Expand Down

0 comments on commit 825b070

Please sign in to comment.