Author: bryanduxbury
Date: Tue Apr 7 23:27:01 2009
New Revision: 763030
URL: http://svn.apache.org/viewvc?rev=763030&view=rev
Log:
THRIFT-390. hs: Cabalize Haskell library code
Missed some files that needed to be added.
Added:
incubator/thrift/trunk/lib/hs/.gitignore
incubator/thrift/trunk/lib/hs/Setup.lhs
incubator/thrift/trunk/lib/hs/Thrift.cabal
Added: incubator/thrift/trunk/lib/hs/.gitignore
URL:
http://svn.apache.org/viewvc/incubator/thrift/trunk/lib/hs/.gitignore?rev=763030&view=auto
==============================================================================
--- incubator/thrift/trunk/lib/hs/.gitignore (added)
+++ incubator/thrift/trunk/lib/hs/.gitignore Tue Apr 7 23:27:01 2009
@@ -0,0 +1 @@
+dist/
Added: incubator/thrift/trunk/lib/hs/Setup.lhs
URL:
http://svn.apache.org/viewvc/incubator/thrift/trunk/lib/hs/Setup.lhs?rev=763030&view=auto
==============================================================================
--- incubator/thrift/trunk/lib/hs/Setup.lhs (added)
+++ incubator/thrift/trunk/lib/hs/Setup.lhs Tue Apr 7 23:27:01 2009
@@ -0,0 +1,3 @@
+#!/usr/bin/env runhaskell
+> import Distribution.Simple
+> main = defaultMain
Added: incubator/thrift/trunk/lib/hs/Thrift.cabal
URL:
http://svn.apache.org/viewvc/incubator/thrift/trunk/lib/hs/Thrift.cabal?rev=763030&view=auto
==============================================================================
--- incubator/thrift/trunk/lib/hs/Thrift.cabal (added)
+++ incubator/thrift/trunk/lib/hs/Thrift.cabal Tue Apr 7 23:27:01 2009
@@ -0,0 +1,18 @@
+Name: Thrift
+Version: 0.1.0
+Cabal-Version: >= 1.2
+Category: Foreign
+Build-Type: Simple
+Synopsis: Thrift library package
+
+Library
+ Hs-Source-Dirs:
+ src
+ Build-Depends:
+ base <4 && >2, network, ghc-prim
+ ghc-options:
+ -fglasgow-exts
+ Extensions:
+ DeriveDataTypeable
+ Exposed-Modules:
+ Thrift, TBinaryProtocol, TChannelTransport, TServer, TSocket