Skip to content

Commit

Permalink
Update to stack >= 1.6.0
Browse files Browse the repository at this point in the history
  • Loading branch information
grancalavera committed Feb 17, 2018
1 parent 6d1993c commit fe099d1
Show file tree
Hide file tree
Showing 3 changed files with 144 additions and 67 deletions.
142 changes: 77 additions & 65 deletions labyrinth.cabal
Original file line number Diff line number Diff line change
@@ -1,74 +1,86 @@
name: labyrinth
version: 0.1.0.0
-- synopsis:
-- description:
homepage: https://github.com/grancalavera/labyrinth#readme
license: BSD3
license-file: LICENSE
author: Leon Coto
maintainer: [email protected]
copyright: Leon Coto
category: Web
build-type: Simple
extra-source-files: README.md
cabal-version: >=1.10
-- This file has been generated from package.yaml by hpack version 0.20.0.
--
-- see: https://github.com/sol/hpack
--
-- hash: f7e4509a6d55c7876b47b6f88b73902c6e559134ef4faa63d0c8809c24cb9a27

name: labyrinth
version: 0.1.0.0
category: Web
homepage: https://github.com/grancalavera/labyrinth#readme
bug-reports: https://github.com/grancalavera/labyrinth/issues
author: Leon Coto
maintainer: [email protected]
copyright: Leon Coto
license: BSD3
license-file: LICENSE
build-type: Simple
cabal-version: >= 1.10

extra-source-files:
README.md

source-repository head
type: git
location: https://github.com/grancalavera/labyrinth

library
hs-source-dirs: lib
ghc-options: -Wall
default-language: Haskell2010
exposed-modules:
Labyrinth.Players
Labyrinth.Game
Labyrinth.Tile
Labyrinth.Board
Labyrinth.UI
Labyrinth.Goal
Labyrinth.Direction
Labyrinth.Gate
Labyrinth
hs-source-dirs:
lib
ghc-options: -Wall
build-depends:
base >= 4.7 && < 5,
brick,
containers,
linear,
microlens,
microlens-th,
random,
vty,
array
array
, base >=4.7 && <5
, brick
, containers
, linear
, microlens
, microlens-th
, random
, vty
exposed-modules:
Labyrinth.Players
Labyrinth.Game
Labyrinth.Tile
Labyrinth.Board
Labyrinth.UI
Labyrinth.Goal
Labyrinth.Direction
Labyrinth.Gate
Labyrinth
other-modules:
Paths_labyrinth
default-language: Haskell2010

executable labyrinth
main-is: Main.hs
hs-source-dirs: src
ghc-options: -Wall -threaded -rtsopts -with-rtsopts=-N
default-language: Haskell2010

main-is: Main.hs
hs-source-dirs:
src
ghc-options: -Wall -threaded -rtsopts -with-rtsopts=-N
build-depends:
base,
labyrinth

test-suite labyrinth-test
type: exitcode-stdio-1.0
hs-source-dirs: test
ghc-options: -Wall -fno-warn-orphans -threaded -rtsopts -with-rtsopts=-N
main-is: Spec.hs
default-language: Haskell2010

base
, labyrinth
other-modules:
Test.Labyrinth
Test.Labyrinth.PlayersSpec
Test.Labyrinth.GameSpec
Paths_labyrinth
default-language: Haskell2010

test-suite labyrinth-test
type: exitcode-stdio-1.0
main-is: Spec.hs
hs-source-dirs:
test
ghc-options: -Wall -fno-warn-orphans -threaded -rtsopts -with-rtsopts=-N
build-depends:
base,
containers,
labyrinth,
hspec,
hspec-discover,
microlens,
QuickCheck

source-repository head
type: git
location: https://github.com/grancalavera/labyrinth
QuickCheck
, base
, containers
, hspec
, hspec-discover
, labyrinth
, microlens
other-modules:
Test.Labyrinth
Test.Labyrinth.GameSpec
Test.Labyrinth.PlayersSpec
Paths_labyrinth
default-language: Haskell2010
65 changes: 65 additions & 0 deletions package.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,65 @@
name: labyrinth
version: '0.1.0.0'
category: Web
author: Leon Coto
maintainer: [email protected]
copyright: Leon Coto
license: BSD3
github: grancalavera/labyrinth
extra-source-files:
- README.md
library:
source-dirs:
- lib
ghc-options:
- -Wall
exposed-modules:
- Labyrinth.Players
- Labyrinth.Game
- Labyrinth.Tile
- Labyrinth.Board
- Labyrinth.UI
- Labyrinth.Goal
- Labyrinth.Direction
- Labyrinth.Gate
- Labyrinth
dependencies:
- base >=4.7 && <5
- brick
- containers
- linear
- microlens
- microlens-th
- random
- vty
- array
executables:
labyrinth:
main: Main.hs
source-dirs: src
ghc-options:
- -Wall
- -threaded
- -rtsopts
- -with-rtsopts=-N
dependencies:
- base
- labyrinth
tests:
labyrinth-test:
main: Spec.hs
source-dirs: test
ghc-options:
- -Wall
- -fno-warn-orphans
- -threaded
- -rtsopts
- -with-rtsopts=-N
dependencies:
- base
- containers
- labyrinth
- hspec
- hspec-discover
- microlens
- QuickCheck
4 changes: 2 additions & 2 deletions stack.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
# resolver:
# name: custom-snapshot
# location: "./custom-snapshot.yaml"
resolver: lts-9.1
resolver: lts-10.5

# User packages to be built.
# Various formats can be used as shown in the example below.
Expand Down Expand Up @@ -63,4 +63,4 @@ extra-package-dbs: []
# extra-lib-dirs: [/path/to/dir]
#
# Allow a newer minor version of GHC than the snapshot specifies
# compiler-check: newer-minor
# compiler-check: newer-minor

0 comments on commit fe099d1

Please sign in to comment.