forked from sleepomeno/ThreepennySudoku
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsudoku.cabal
51 lines (45 loc) · 1.6 KB
/
sudoku.cabal
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
-- Initial sudoku.cabal generated by cabal init. For further
-- documentation, see http://haskell.org/cabal/users-guide/
name: sudoku
version: 0.1.0.0
-- synopsis:
-- description:
-- license:
license-file: LICENSE
author: Gregor Riegler
maintainer: [email protected]
-- copyright:
category: Math
build-type: Simple
cabal-version: >=1.8
Data-dir: .
Data-files: wwwroot/css/*.css
,wwwroot/css/*.png
,wwwroot/sudokus.db
flag buildExecutables
description: Build sudoku application and scraper executables.
default: False
Library
Hs-source-dirs: src
Exposed-modules: Solver
Other-modules: Paths_sudoku
CPP-Options: -DCABAL
build-depends: safe, base, threepenny-gui >=0.4.0.2, filepath, hxt, HandsomeSoup, tagsoup, split ==0.2.2, vector, HTTP, HDBC-sqlite3, array
executable sudoku
if flag(buildExecutables)
cpp-options: -DCABAL
build-depends: safe, base , threepenny-gui >=0.4.0.2, filepath, hxt, HTTP, vector, split ==0.2.2, transformers,HDBC-sqlite3, HDBC, array
else
buildable: False
main-is: Sudoku.hs
hs-source-dirs: src
other-modules: Paths_sudoku, Paths
executable scraper
if flag(buildExecutables)
cpp-options: -DCABAL
build-depends: base, HTTP, vector, split ==0.2.2, tagsoup, hxt, HDBC-sqlite3, HDBC
else
buildable: False
main-is: SudokuScraper.hs
hs-source-dirs: src
other-modules: Paths_sudoku, Paths, Solver