diff --git a/src/Main.hs b/apps/smp-server/Main.hs similarity index 100% rename from src/Main.hs rename to apps/smp-server/Main.hs diff --git a/package.yaml b/package.yaml index 9c0bf214a..673a09b70 100644 --- a/package.yaml +++ b/package.yaml @@ -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