move Main to apps/smp-server

This commit is contained in:
Evgeny Poberezkin
2020-10-21 19:04:15 +01:00
parent 3d322f5fcf
commit 480ff86907
2 changed files with 13 additions and 11 deletions

View File

@@ -14,27 +14,29 @@ extra-source-files:
dependencies:
- base >= 4.7 && < 5
- base64-bytestring >= 1.0 && < 1.3
- bytestring
- bytestring == 0.10.*
- containers
- cryptonite == 0.26.*
- iso8601-time == 0.1.*
- mtl
- network
- network == 3.1.*
- stm
- time == 1.9.*
- unliftio-core
- unliftio
executables:
simplex-messaging:
source-dirs: src
main: Main.hs
ghc-options:
- -threaded
- unliftio == 0.2.*
- unliftio-core == 0.1.*
library:
source-dirs: src
executables:
smp-server:
source-dirs: apps/smp-server
main: Main.hs
dependencies:
- simplex-messaging
ghc-options:
- -threaded
tests:
smp-server-test:
source-dirs: tests