Author: molinaro
Date: Thu Sep 23 22:28:09 2010
New Revision: 1000653
URL: http://svn.apache.org/viewvc?rev=1000653&view=rev
Log:
THRIFT-914 : haskell bindings compile easier
Modified:
incubator/thrift/trunk/lib/hs/ (props changed)
incubator/thrift/trunk/lib/hs/Setup.lhs
incubator/thrift/trunk/lib/hs/Thrift.cabal
Propchange: incubator/thrift/trunk/lib/hs/
------------------------------------------------------------------------------
--- svn:ignore (added)
+++ svn:ignore Thu Sep 23 22:28:09 2010
@@ -0,0 +1 @@
+dist
Modified: incubator/thrift/trunk/lib/hs/Setup.lhs
URL:
http://svn.apache.org/viewvc/incubator/thrift/trunk/lib/hs/Setup.lhs?rev=1000653&r1=1000652&r2=1000653&view=diff
==============================================================================
--- incubator/thrift/trunk/lib/hs/Setup.lhs (original)
+++ incubator/thrift/trunk/lib/hs/Setup.lhs Thu Sep 23 22:28:09 2010
@@ -1,23 +1,21 @@
#!/usr/bin/env runhaskell
-#
-# Licensed to the Apache Software Foundation (ASF) under one
-# or more contributor license agreements. See the NOTICE file
-# distributed with this work for additional information
-# regarding copyright ownership. The ASF licenses this file
-# to you under the Apache License, Version 2.0 (the
-# "License"); you may not use this file except in compliance
-# with the License. You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing,
-# software distributed under the License is distributed on an
-# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-# KIND, either express or implied. See the License for the
-# specific language governing permissions and limitations
-# under the License.
-#
+> -- Licensed to the Apache Software Foundation (ASF) under one
+> -- or more contributor license agreements. See the NOTICE file
+> -- distributed with this work for additional information
+> -- regarding copyright ownership. The ASF licenses this file
+> -- to you under the Apache License, Version 2.0 (the
+> -- "License"); you may not use this file except in compliance
+> -- with the License. You may obtain a copy of the License at
+> --
+> -- http://www.apache.org/licenses/LICENSE-2.0
+> --
+> -- Unless required by applicable law or agreed to in writing,
+> -- software distributed under the License is distributed on an
+> -- "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+> -- KIND, either express or implied. See the License for the
+> -- specific language governing permissions and limitations
+> -- under the License.
> import Distribution.Simple
> main = defaultMain
Modified: incubator/thrift/trunk/lib/hs/Thrift.cabal
URL:
http://svn.apache.org/viewvc/incubator/thrift/trunk/lib/hs/Thrift.cabal?rev=1000653&r1=1000652&r2=1000653&view=diff
==============================================================================
--- incubator/thrift/trunk/lib/hs/Thrift.cabal (original)
+++ incubator/thrift/trunk/lib/hs/Thrift.cabal Thu Sep 23 22:28:09 2010
@@ -18,7 +18,7 @@
--
Name: Thrift
-Version: 0.1.1
+Version: 0.2.0
Cabal-Version: >= 1.2
License: Apache2
Category: Foreign
@@ -30,10 +30,11 @@ Library
src
Build-Depends:
base >=4, network, ghc-prim, binary, bytestring, HTTP
- ghc-options:
- -fglasgow-exts
- Extensions:
- DeriveDataTypeable
Exposed-Modules:
Thrift, Thrift.Protocol, Thrift.Transport, Thrift.Protocol.Binary
- Thrift.Transport.Handle, Thrift.Transport.HttpClient, Thrift.Server
+ Thrift.Transport.Handle, Thrift.Transport.HttpClient, Thrift.Server
+ Extensions:
+ DeriveDataTypeable, ExistentialQuantification, FlexibleInstances,
+ KindSignatures, MagicHash, RankNTypes,
+ ScopedTypeVariables, TypeSynonymInstances
+