Skip to content

Commit e1567b6

Browse files
committed
Add an executable for install-fixtures
1 parent 44bbdf8 commit e1567b6

1 file changed

Lines changed: 27 additions & 0 deletions

File tree

compiler/thrift-compiler.cabal

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,9 @@ source-repository head
3232
type: git
3333
location: https://github.com/facebookincubator/hsthrift.git
3434

35+
flag dev
36+
default: False
37+
3538
common fb-haskell
3639
default-language: Haskell2010
3740
default-extensions:
@@ -145,3 +148,27 @@ test-suite thrift-compiler-tests
145148
temporary,
146149
text,
147150
thrift-compiler
151+
152+
executable install-fixtures
153+
if !flag(dev)
154+
buildable: False
155+
import: fb-haskell
156+
type: exitcode-stdio-1.0
157+
hs-source-dirs: test, test/github
158+
main-is: InstallFixtures.hs
159+
ghc-options: -threaded -main-is InstallFixtures
160+
other-modules: Util
161+
build-depends: aeson-pretty,
162+
base,
163+
directory,
164+
extra,
165+
filepath,
166+
fb-stubs,
167+
haskell-src-exts >=1.20.3 && <1.24,
168+
hspec,
169+
hspec-contrib,
170+
HUnit ^>= 1.6.1,
171+
process,
172+
temporary,
173+
text,
174+
thrift-compiler

0 commit comments

Comments
 (0)