setenv 0.1.1.1 → 0.1.1.2
raw patch · 2 files changed
+1/−28 lines, 2 filesdep −processdep ~base
Dependencies removed: process
Dependency ranges changed: base
Files
- setenv.cabal +1/−20
- test/run.lhs +0/−8
setenv.cabal view
@@ -1,5 +1,5 @@ name: setenv-version: 0.1.1.1+version: 0.1.1.2 license: MIT license-file: LICENSE copyright: (c) 2012, 2013 Simon Hengel@@ -26,22 +26,3 @@ base == 4.* if !os(windows) build-depends: unix--test-suite spec- type:- exitcode-stdio-1.0- ghc-options:- -Wall -Werror- hs-source-dirs:- test- main-is:- -- NOTE: We can not use Spec.hs here, because hspec depends on setenv.- -- So we can not depend on our inplace version of setenv here. Just- -- including src in hs-source-dirs does also not work, because this would- -- require a condition for unix in the test-suite section, and older- -- version of cabal-install failed if any package in the dependency chain- -- uses a condition in a test-suite section.- run.lhs- build-depends:- base- , process
− test/run.lhs
@@ -1,8 +0,0 @@-#!/usr/bin/env runhaskell-> module Main (main) where->-> import System.Process-> import System.Exit->-> main :: IO ()-> main = rawSystem "cabal" ["install", "hspec"] >> rawSystem "runhaskell" ["-itest", "-isrc", "-optP-include", "-optPdist/build/autogen/cabal_macros.h", "test/Spec.hs"] >>= exitWith