diff options
author | Csaba Hruska <csaba.hruska@gmail.com> | 2016-02-13 14:20:06 +0100 |
---|---|---|
committer | Csaba Hruska <csaba.hruska@gmail.com> | 2016-02-13 14:20:19 +0100 |
commit | a8ece97efac68c03b3eb9c9e962b8a9b1d994519 (patch) | |
tree | c8f3354c86b6d448bf9c3ae143e6b819d7ba7772 /lambdacube-compiler.cabal | |
parent | b7290dc2434daea24e848bc83a7e16d97945ce8f (diff) |
cabalize backend test server
Diffstat (limited to 'lambdacube-compiler.cabal')
-rw-r--r-- | lambdacube-compiler.cabal | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/lambdacube-compiler.cabal b/lambdacube-compiler.cabal index cbd51a0b..58843147 100644 --- a/lambdacube-compiler.cabal +++ b/lambdacube-compiler.cabal | |||
@@ -160,6 +160,35 @@ executable lc | |||
160 | else | 160 | else |
161 | Buildable: True | 161 | Buildable: True |
162 | 162 | ||
163 | executable lambdacube-backend-test-server | ||
164 | hs-source-dirs: backendtest | ||
165 | main-is: TestServer.hs | ||
166 | default-language: Haskell2010 | ||
167 | |||
168 | -- CAUTION: When the build-depends change, please bump the git submodule in lambdacube-docker repository | ||
169 | build-depends: | ||
170 | base < 4.9, | ||
171 | containers >=0.5 && <0.6, | ||
172 | text >= 1.2 && <1.3, | ||
173 | lambdacube-compiler, | ||
174 | lambdacube-ir == 0.3.*, | ||
175 | pretty-show >= 1.6.9, | ||
176 | optparse-applicative == 0.12.*, | ||
177 | aeson >= 0.9 && < 0.11, | ||
178 | bytestring == 0.10.*, | ||
179 | filepath == 1.4.*, | ||
180 | directory, | ||
181 | websockets >= 0.9.6.1, | ||
182 | JuicyPixels >=3.2.7 && <3.3, | ||
183 | vect >= 0.4.7, | ||
184 | base64-bytestring >= 1.0.0.1, | ||
185 | vector >= 0.11 && <0.12 | ||
186 | |||
187 | if flag(onlytestsuite) | ||
188 | Buildable: False | ||
189 | else | ||
190 | Buildable: True | ||
191 | |||
163 | 192 | ||
164 | executable lambdacube-compiler-coverage-test-suite | 193 | executable lambdacube-compiler-coverage-test-suite |
165 | hs-source-dirs: src, test | 194 | hs-source-dirs: src, test |