diff options
Diffstat (limited to 'server/thermoprint-server.cabal')
-rw-r--r-- | server/thermoprint-server.cabal | 25 |
1 files changed, 22 insertions, 3 deletions
diff --git a/server/thermoprint-server.cabal b/server/thermoprint-server.cabal index c8586ae..0aa1870 100644 --- a/server/thermoprint-server.cabal +++ b/server/thermoprint-server.cabal | |||
@@ -16,16 +16,35 @@ build-type: Simple | |||
16 | -- extra-source-files: | 16 | -- extra-source-files: |
17 | cabal-version: >=1.10 | 17 | cabal-version: >=1.10 |
18 | 18 | ||
19 | executable thermoprint-server | 19 | library |
20 | main-is: Main.hs | 20 | exposed-modules: Thermoprint.Server |
21 | -- other-modules: | 21 | -- other-modules: |
22 | -- other-extensions: | 22 | -- other-extensions: |
23 | build-depends: base >=4.8 && <4.9 | 23 | build-depends: base >=4.8 && <5 |
24 | , thermoprint-spec ==3.0.* | 24 | , thermoprint-spec ==3.0.* |
25 | , dyre >=0.8.12 && <1 | 25 | , dyre >=0.8.12 && <1 |
26 | , data-default-class >=0.0.1 && <1 | 26 | , data-default-class >=0.0.1 && <1 |
27 | , wai >=3.0.4 && <4 | 27 | , wai >=3.0.4 && <4 |
28 | , servant-server >=0.4.4 && <1 | 28 | , servant-server >=0.4.4 && <1 |
29 | , warp >=3.1.9 && <4 | 29 | , warp >=3.1.9 && <4 |
30 | , persistent >=2.2 && <3 | ||
31 | , persistent-template >=2.1.4 && <3 | ||
32 | , transformers >=0.3.0 && <1 | ||
33 | , mtl >=2.2.1 && <3 | ||
34 | , resourcet >=1.1.7 && <2 | ||
35 | , monad-logger >=0.3.13 && <1 | ||
36 | , containers >=0.5.6 && <1 | ||
37 | , either >=4.4.1 && <5 | ||
30 | hs-source-dirs: src | 38 | hs-source-dirs: src |
39 | default-language: Haskell2010 | ||
40 | |||
41 | executable thermoprint-server | ||
42 | main-is: Main.hs | ||
43 | build-depends: base >=4.8 && <5 | ||
44 | , thermoprint-server -any | ||
45 | , persistent-sqlite >=2.2 && <3 | ||
46 | , mtl >=2.2.1 && <3 | ||
47 | , resourcet >=1.1.7 && <2 | ||
48 | , monad-logger >=0.3.13 && <1 | ||
49 | hs-source-dirs: default-conf | ||
31 | default-language: Haskell2010 \ No newline at end of file | 50 | default-language: Haskell2010 \ No newline at end of file |