packages feed

gitlib-cross (empty) → 1.0.1

raw patch · 5 files changed

+87/−0 lines, 5 filesdep +HUnitdep +basedep +gitlibsetup-changed

Dependencies added: HUnit, base, gitlib, gitlib-cmdline, gitlib-libgit2, gitlib-test, hspec, hspec-expectations

Files

+ Foo.hs view
@@ -0,0 +1,4 @@+module Foo where++foo :: a+foo = undefined
+ LICENSE view
@@ -0,0 +1,19 @@+opyright (c) 2012 John Wiegley++Permission is hereby granted, free of charge, to any person obtaining a copy+of this software and associated documentation files (the "Software"), to deal+in the Software without restriction, including without limitation the rights+to use, copy, modify, merge, publish, distribute, sublicense, and/or sell+copies of the Software, and to permit persons to whom the Software is+furnished to do so, subject to the following conditions:++The above copyright notice and this permission notice shall be included in+all copies or substantial portions of the Software.++THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE+AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER+LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,+OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN+THE SOFTWARE.
+ Setup.hs view
@@ -0,0 +1,2 @@+import Distribution.Simple+main = defaultMain
+ gitlib-cross.cabal view
@@ -0,0 +1,42 @@+Name:                gitlib-cross+Version:             1.0.1+Synopsis:            Run tests between repositories+License-file:        LICENSE+License:             MIT+Author:              John Wiegley+Maintainer:          johnw@fpcomplete.com+Build-Type:          Simple+Cabal-Version:       >=1.10+Category:            FFI+Description:+  Test runner which runs tests between repositories.++Source-repository head+  type: git+  location: git://github.com/fpco/gitlib.git+++Library+    ghc-options: -Wall+    default-language:   Haskell98+    default-extensions: ForeignFunctionInterface+    build-depends:+          base                 >= 3 && < 5+    exposed-modules:+        Foo++Test-suite smoke+    Default-language: Haskell98+    Type: exitcode-stdio-1.0+    Main-is: Smoke.hs+    ghc-options: -Wall+    Hs-source-dirs: test+    Build-depends: +          base >=3+        , gitlib+        , gitlib-test+        , gitlib-libgit2+        , gitlib-cmdline+        , HUnit              >= 1.2.5+        , hspec              >= 1.4.4+        , hspec-expectations >= 0.3
+ test/Smoke.hs view
@@ -0,0 +1,20 @@+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE ConstraintKinds #-}+{-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE FlexibleContexts #-}+{-# OPTIONS_GHC -fno-warn-unused-do-bind #-}+{-# OPTIONS_GHC -fno-warn-wrong-do-bind #-}+{-# OPTIONS_GHC -fno-warn-name-shadowing #-}++module Main where++import qualified Git.CmdLine as Cli+import qualified Git.Libgit2 as Lg+import qualified Git.Smoke as Git+import           Test.Hspec.HUnit ()+import           Test.Hspec.Runner++main :: IO ()+main = hspec $ Git.smokeTestSpec Cli.cliFactory Lg.lgFactory++-- Smoke.hs ends here