Skip to content

Commit c7ba0a1

Browse files
authored
Use HPack (#55)
1 parent 3af722b commit c7ba0a1

File tree

4 files changed

+78
-105
lines changed

4 files changed

+78
-105
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,3 +6,4 @@ generated_files/
66
tests/test_gen/
77
config.yaml
88
result
9+
haskellings.cabal

haskellings.cabal

Lines changed: 0 additions & 104 deletions
This file was deleted.

package.yaml

Lines changed: 77 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,77 @@
1+
name: haskellings
2+
version: 0.8.0.0
3+
github: "MondayMorningHaskell/haskellings"
4+
license: BSD3
5+
author: "James Bowen"
6+
maintainer: "james@mondaymoringhaskell.me"
7+
copyright: "2021 Monday Morning Haskell"
8+
description: Please see the README on GitHub at <https://github.com/MondayMorningHaskell/haskellings#readme>
9+
extra-source-files:
10+
- README.md
11+
- ChangeLog.md
12+
13+
dependencies:
14+
- base >= 4.7 && < 5
15+
- containers
16+
- directory
17+
- filepath
18+
- mtl
19+
20+
ghc-options:
21+
- -fwarn-unused-imports
22+
23+
library:
24+
dependencies:
25+
- aeson
26+
- ansi-terminal
27+
- extra
28+
- fsnotify
29+
- tasty
30+
- tasty-hunit
31+
- process
32+
- time
33+
- yaml
34+
source-dirs: src
35+
other-modules:
36+
- Paths_haskellings
37+
- Haskellings.Internal.ExerciseList
38+
- Haskellings.Internal.ExecutableExercises
39+
40+
executables:
41+
haskellings:
42+
dependencies:
43+
- extra
44+
- haskellings
45+
ghc-options:
46+
- -threaded
47+
- -rtsopts
48+
- -with-rtsopts=-N
49+
main: Main.hs
50+
source-dirs: app
51+
52+
tests:
53+
haskellings-tests:
54+
dependencies:
55+
- haskellings
56+
- hspec
57+
- HUnit
58+
- time
59+
ghc-options:
60+
- -threaded
61+
- -rtsopts
62+
- -with-rtsopts=-N
63+
main: Main.hs
64+
other-modules: []
65+
source-dirs: tests
66+
unit-tests:
67+
dependencies:
68+
- haskellings
69+
- tasty
70+
- tasty-hunit
71+
ghc-options:
72+
- -threaded
73+
- -rtsopts
74+
- -with-rtsopts=-N
75+
main: UnitTests.hs
76+
other-modules: []
77+
source-dirs: tests

tests/UnitTests.hs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@ import Test.Tasty.HUnit
1010
import Haskellings.Constants
1111
import Haskellings.DirectoryUtils
1212
import Haskellings.LoadConfig
13-
import Haskellings.Types
1413

1514
main :: IO ()
1615
main = do

0 commit comments

Comments
 (0)