use hpack
This commit is contained in:
parent
9acab9344d
commit
75af92ca7c
4 changed files with 39 additions and 25 deletions
1
.gitignore
vendored
1
.gitignore
vendored
|
|
@ -1,2 +1,3 @@
|
|||
dist-newstyle
|
||||
.direnv
|
||||
*.cabal
|
||||
|
|
@ -1,24 +0,0 @@
|
|||
cabal-version: 3.0
|
||||
name: numbersquare
|
||||
|
||||
version: 0.1.0.0
|
||||
|
||||
license: BSD-3-Clause
|
||||
license-file: LICENSE
|
||||
author: sid
|
||||
category: Game
|
||||
build-type: Simple
|
||||
|
||||
extra-doc-files: CHANGELOG.md
|
||||
|
||||
common warnings
|
||||
ghc-options: -Wall
|
||||
|
||||
executable numbersquare
|
||||
import: warnings
|
||||
|
||||
main-is: Main.hs
|
||||
|
||||
build-depends: base ^>=4.20.2.0
|
||||
hs-source-dirs: app
|
||||
default-language: Haskell2010
|
||||
36
package.yaml
Normal file
36
package.yaml
Normal file
|
|
@ -0,0 +1,36 @@
|
|||
name: numbersquare
|
||||
version: "0.1.0"
|
||||
category: Games
|
||||
synopsis: "a game where you number square"
|
||||
description: "a game where you number square"
|
||||
license: BSD3
|
||||
author: skulk
|
||||
|
||||
ghc-options: "-Wall"
|
||||
|
||||
dependencies:
|
||||
- "base == 4.*"
|
||||
- random
|
||||
- array
|
||||
- text
|
||||
|
||||
library:
|
||||
source-dirs:
|
||||
- src
|
||||
|
||||
executable:
|
||||
source-dirs:
|
||||
- app
|
||||
main: Main.hs
|
||||
|
||||
tests:
|
||||
spec:
|
||||
main: "Spec.hs"
|
||||
ghc-options: "-threaded -O0"
|
||||
source-dirs:
|
||||
- src
|
||||
- test
|
||||
|
||||
dependencies:
|
||||
- hspec >= 2.1.8
|
||||
- QuickCheck
|
||||
|
|
@ -16,6 +16,7 @@ haskellPackages.developPackage {
|
|||
fourmolu
|
||||
haskell-language-server
|
||||
cabal-install
|
||||
hpack
|
||||
ghcid
|
||||
cabal-fmt
|
||||
]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue