summaryrefslogtreecommitdiff
path: root/onecard.cabal
diff options
context:
space:
mode:
authorFrederick Yin <fkfd@fkfd.me>2023-03-13 18:23:48 +0800
committerFrederick Yin <fkfd@fkfd.me>2023-03-13 18:23:48 +0800
commit8c6245fac35cdc9a1ef743d29eea9176448d350d (patch)
tree43755f230b1cfe0caee7d29156851479eb23f2b0 /onecard.cabal
parent84ee16536eabd4f637912d25643184cbcc118092 (diff)
Package into cabal projectHEADmain
Diffstat (limited to 'onecard.cabal')
-rw-r--r--onecard.cabal19
1 files changed, 19 insertions, 0 deletions
diff --git a/onecard.cabal b/onecard.cabal
new file mode 100644
index 0000000..c4d2ef4
--- /dev/null
+++ b/onecard.cabal
@@ -0,0 +1,19 @@
+name: onecard
+version: 0.1.0
+build-type: Simple
+cabal-version: 1.18
+
+library
+ default-language: Haskell2010
+ exposed-modules: Game, Player, Card, Color
+ hs-source-dirs: src
+ build-depends: base, random
+ ghc-options: -dynamic
+
+executable onecard
+ default-language: Haskell2010
+ hs-source-dirs: src
+ build-depends: base, random, optparse-applicative, onecard
+ main-is: Main.hs
+ other-modules: Game, Player, Card, Color
+ ghc-options: -dynamic