summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.gitignore1
-rw-r--r--hint.cabal15
2 files changed, 11 insertions, 5 deletions
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..daa9e81
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1 @@
+dist-newstyle/ \ No newline at end of file
diff --git a/hint.cabal b/hint.cabal
index 0ba14be..d4f7ef1 100644
--- a/hint.cabal
+++ b/hint.cabal
@@ -15,13 +15,16 @@ extra-doc-files: CHANGELOG.md
common warnings
ghc-options: -Wall
-library
+library hint-lib
import: warnings
exposed-modules: Hint.Lexer
Hint.Parser
+ Hint.Eval
-- other-modules:
-- other-extensions:
build-depends: base ^>=4.20.2.0,
+ containers >= 0.7,
+ containers >= 0.7,
process >= 1.6.26.1
hs-source-dirs: src
default-language: Haskell2010
@@ -32,8 +35,9 @@ executable hint
-- other-modules:
-- other-extensions:
build-depends:
- base ^>=4.20.2.0,
- hint
+ base ^>=4.20.2.0,
+ containers >= 0.7,
+ hint-lib
hs-source-dirs: app
default-language: GHC2024
@@ -47,5 +51,6 @@ test-suite hint-test
hs-source-dirs: test
main-is: Main.hs
build-depends:
- base ^>=4.20.2.0,
- hint
+ base ^>=4.20.2.0,
+ containers >= 0.7,
+ hint