shake-language-c 0.7.0 → 0.7.1
raw patch · 3 files changed
+10/−8 lines, 3 filesPVP ok
version bump matches the API change (PVP)
API changes (from Hackage documentation)
Files
- CHANGELOG.md +4/−2
- shake-language-c.cabal +1/−1
- tests/spectests.hs +5/−5
CHANGELOG.md view
@@ -1,5 +1,9 @@ # Changelog for shake-language-c +## [v0.7.1][]++* Fix compilation error with GHC 7.10 in test suite (#25)+ ## [v0.7.0][] * Add `arm64` ARM version@@ -11,8 +15,6 @@ * Fix Android toolchain definition for `x86` architecture ## [v0.6.3][]--### Changed * Fix bug in `Development.Shake.Language.C.Target.OSX`: `getPlatformVersionsWithRoot` works correctly now with SDK directories without version number, as introduced by Xcode 6
shake-language-c.cabal view
@@ -13,7 +13,7 @@ -- limitations under the License. Name: shake-language-c-Version: 0.7.0+Version: 0.7.1 Synopsis: Utilities for cross-compiling with Shake Description: This library provides <http://hackage.haskell.org/package/shake Shake> utilities for cross-compiling @C@, @C++@ and @ObjC@ code for various target platforms. Currently supported target platforms are Android, iOS, Linux, MacOS X, Windows\/MinGW and Google Portable Native Client (PNaCl). Supported host platforms are MacOS X, Linux and Windows. Category: Development
tests/spectests.hs view
@@ -1,6 +1,6 @@ module Main where -import Control.Applicative hiding ((*>))+import Control.Applicative import Control.Monad import Data.IORef import Development.Shake@@ -54,7 +54,7 @@ input = mkInput "source.c" outputGen = mkOutput $ "result" <.> exe output = mkOutput "result.txt"- input *> \path -> do+ input %> \path -> do writeFileLines path [ "#include <stdio.h>" , "int main(int argc, char** argv)"@@ -64,7 +64,7 @@ , "}" ] _ <- executable toolChain outputGen (pure id) (pure [input])- output *> \path -> do+ output %> \path -> do need [outputGen] cmd Shell (outputGen ++ " > " ++ path) return output@@ -74,7 +74,7 @@ input = mkInput "source.cpp" outputGen = mkOutput $ "result" <.> exe output = mkOutput "result.txt"- input *> \path -> do+ input %> \path -> do writeFileLines path [ "#include <iostream>" , "int main(int argc, char** argv)"@@ -84,7 +84,7 @@ , "}" ] _ <- executable toolChain outputGen (pure id) (pure [input])- output *> \path -> do+ output %> \path -> do need [outputGen] cmd Shell (outputGen ++ " > " ++ path) return output