summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKleidi Bujari <mail@4kb.net>2026-10-08 00:38:07 -0700
committerKleidi Bujari <mail@4kb.net>2026-10-08 00:41:40 -0700
commit479a316905ea882375aefe7944f9c02b176a55e2 (patch)
tree2915ad21e63afa1192cbf96462986d7f1461dbd8
parentb029315b7438b90b11d397c0db461065c8054bab (diff)
downloadhint-479a316905ea882375aefe7944f9c02b176a55e2.tar.gz
hint-479a316905ea882375aefe7944f9c02b176a55e2.tar.bz2
hint-479a316905ea882375aefe7944f9c02b176a55e2.zip
setup gitignore and get cabal working
-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