Skip to content

Commit b3a3df9

Browse files
committed
Use hpack
1 parent 777c4b6 commit b3a3df9

2 files changed

Lines changed: 47 additions & 23 deletions

File tree

package.yaml

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
name: strip
2+
version: 0.0.0
3+
license: MIT
4+
copyright: (c) 2013 Simon Hengel
5+
author: Simon Hengel <sol@typeful.net>
6+
maintainer: Simon Hengel <sol@typeful.net>
7+
8+
ghc-options: -Wall
9+
10+
dependencies:
11+
- base == 4.*
12+
13+
library:
14+
source-dirs: src
15+
16+
tests:
17+
spec:
18+
source-dirs: test
19+
main: Spec.hs
20+
dependencies:
21+
- strip
22+
- hspec == 2.*

strip.cabal

Lines changed: 25 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -1,35 +1,37 @@
1-
name: strip
2-
version: 0.0.0
3-
license: MIT
4-
license-file: LICENSE
5-
copyright: (c) 2013 Simon Hengel
6-
author: Simon Hengel <sol@typeful.net>
7-
maintainer: Simon Hengel <sol@typeful.net>
8-
build-type: Simple
9-
cabal-version: >= 1.8
1+
-- This file has been generated from package.yaml by hpack version 0.17.0.
2+
--
3+
-- see: https://github.com/sol/hpack
4+
5+
name: strip
6+
version: 0.0.0
7+
author: Simon Hengel <sol@typeful.net>
8+
maintainer: Simon Hengel <sol@typeful.net>
9+
copyright: (c) 2013 Simon Hengel
10+
license: MIT
11+
license-file: LICENSE
12+
build-type: Simple
13+
cabal-version: >= 1.10
1014

1115
library
12-
ghc-options:
13-
-Wall
1416
hs-source-dirs:
1517
src
18+
ghc-options: -Wall
19+
build-depends:
20+
base == 4.*
1621
exposed-modules:
1722
Data.String.Strip
18-
build-depends:
19-
base == 4.*
23+
default-language: Haskell2010
2024

2125
test-suite spec
22-
type:
23-
exitcode-stdio-1.0
24-
ghc-options:
25-
-Wall
26+
type: exitcode-stdio-1.0
27+
main-is: Spec.hs
2628
hs-source-dirs:
2729
test
28-
main-is:
29-
Spec.hs
30-
other-modules:
31-
Data.String.StripSpec
30+
ghc-options: -Wall
3231
build-depends:
33-
base == 4.*
32+
base == 4.*
3433
, strip
35-
, hspec == 2.*
34+
, hspec == 2.*
35+
other-modules:
36+
Data.String.StripSpec
37+
default-language: Haskell2010

0 commit comments

Comments
 (0)