packages feed

fay 0.24.1.1 → 0.24.2.0

raw patch · 3 files changed

+15/−11 lines, 3 filesPVP ok

version bump matches the API change (PVP)

API changes (from Hackage documentation)

Files

CHANGELOG.md view
@@ -2,6 +2,12 @@  See full history at: <https://github.com/faylang/fay/commits> +### 0.24.2.0 (2021-01-10)++* Drop GHC 8.0 support.+* Cabal upgraded to 2.0 spec-version.+* Travis CI refactored to allow cabal-install 3.2.0.0 builds.+ ### 0.24.1.1 (2021-01-08)  * Relax boundaries for aeson, tasty, base-compat. Allow builds for Gentoo (#469).
fay.cabal view
@@ -1,5 +1,6 @@+cabal-version:       2.0 name:                fay-version:             0.24.1.1+version:             0.24.2.0 synopsis:            A compiler for Fay, a Haskell subset that compiles to JavaScript. description:         Fay is a proper subset of Haskell which is type-checked                      with GHC, and compiled to JavaScript. It is lazy, pure, has a Fay monad,@@ -22,7 +23,7 @@ copyright:           2012 Chris Done, Adam Bergmark category:            Development, Web, Fay build-type:          Custom-cabal-version:       2.0+Tested-with:         GHC ==8.4.4 || ==8.6.5 || ==8.8.3 data-files:   src/Fay/FFI.hs extra-source-files:@@ -181,8 +182,6 @@   hs-source-dirs:    src/main   ghc-options:       -O2 -Wall   main-is:           Main.hs-  autogen-modules:-    Paths_fay   build-depends:       base     , fay@@ -198,8 +197,6 @@   hs-source-dirs:    src/tests   main-is:           Tests.hs   if flag(test)-    autogen-modules:-      Paths_fay     other-modules:       Test.CommandLine       Test.Compile
src/tests/Test/Compile.hs view
@@ -101,11 +101,12 @@   case res of     Left l  -> assertFailure $ "Should compile, but failed with: " ++ show l     Right js -> do-    writeFile ("tests/Compile/" ++ flagName ++ suffix) js-    (err, out) <- either id id <$> runScriptFile isTs ("tests/Compile/" ++ flagName ++ suffix)-    when (err /= "") $ assertFailure err-    expected <- readFile $ "tests/Compile/" ++ flagName ++ ".res"-    assertEqual (flagName ++ " node stdout") expected out+      writeFile ("tests/Compile/" ++ flagName ++ suffix) js+      (err, out) <- either id id <$> runScriptFile isTs+        ("tests/Compile/" ++ flagName ++ suffix)+      when (err /= "") $ assertFailure err+      expected <- readFile $ "tests/Compile/" ++ flagName ++ ".res"+      assertEqual (flagName ++ " node stdout") expected out  case_pretty :: Assertion case_pretty = do