File tree Expand file tree Collapse file tree 9 files changed +23
-8
lines changed Expand file tree Collapse file tree 9 files changed +23
-8
lines changed Original file line number Diff line number Diff line change @@ -177,8 +177,8 @@ jobs:
177177 - name : install cabal-docspec
178178 run : |
179179 mkdir -p $HOME/.cabal/bin
180- curl -sL https://github.com/phadej/cabal-extras/releases/download/cabal-docspec-0.0.0.20231219 /cabal-docspec-0.0.0.20231219 -x86_64-linux.xz > cabal-docspec.xz
181- echo '8b60448275466bbe2b9409741b5dd07a41c541283017b95b44efe6e31379d067 cabal-docspec.xz' | sha256sum -c -
180+ curl -sL https://github.com/phadej/cabal-extras/releases/download/cabal-docspec-0.0.0.20240414 /cabal-docspec-0.0.0.20240414 -x86_64-linux.xz > cabal-docspec.xz
181+ echo '2d18a3f79619e8ec5f11870f926f6dc2616e02a6c889315b7f82044b95a1adb9 cabal-docspec.xz' | sha256sum -c -
182182 xz -d < cabal-docspec.xz > $HOME/.cabal/bin/cabal-docspec
183183 rm -f cabal-docspec.xz
184184 chmod a+x $HOME/.cabal/bin/cabal-docspec
Original file line number Diff line number Diff line change 1- HC ?= ghc-9.2.8
1+ HC ?= ghc-9.8.2
22
33build :
44 cabal v2-build -w $(HC )
Original file line number Diff line number Diff line change 11cabal-version : 2.2
22name : haskell-ci
3- version : 0.19.20240402
3+ version : 0.19.20240414
44synopsis : Cabal package script generator for Travis-CI
55description :
66 Script generator (@haskell-ci@) for
Original file line number Diff line number Diff line change @@ -28,8 +28,8 @@ defaultDocspecConfig :: DocspecConfig
2828defaultDocspecConfig = DocspecConfig
2929 { cfgDocspecEnabled = noVersion
3030 , cfgDocspecOptions = []
31- , cfgDocspecUrl = " https://github.com/phadej/cabal-extras/releases/download/cabal-docspec-0.0.0.20231219 /cabal-docspec-0.0.0.20231219 -x86_64-linux.xz"
32- , cfgDocspecHash = " 8b60448275466bbe2b9409741b5dd07a41c541283017b95b44efe6e31379d067 "
31+ , cfgDocspecUrl = " https://github.com/phadej/cabal-extras/releases/download/cabal-docspec-0.0.0.20240414 /cabal-docspec-0.0.0.20240414 -x86_64-linux.xz"
32+ , cfgDocspecHash = " 2d18a3f79619e8ec5f11870f926f6dc2616e02a6c889315b7f82044b95a1adb9 "
3333 }
3434
3535-------------------------------------------------------------------------------
Original file line number Diff line number Diff line change @@ -9,6 +9,9 @@ import qualified Distribution.Pretty as C
99import qualified Distribution.Types.PackageName as C
1010import qualified Text.PrettyPrint as PP
1111
12+ -- $setup
13+ -- >>> import qualified Distribution.Parsec as C
14+
1215-------------------------------------------------------------------------------
1316-- Single action
1417-------------------------------------------------------------------------------
Original file line number Diff line number Diff line change @@ -7,6 +7,9 @@ import qualified Distribution.Parsec as C
77import qualified Distribution.Pretty as C
88import qualified Text.PrettyPrint as PP
99
10+ -- $setup
11+ -- >>> import qualified Distribution.Parsec as C
12+
1013-- | Jobs
1114--
1215-- * @N:M@ - @N@ ghcs (cabal -j), @M@ threads (ghc -j)
Original file line number Diff line number Diff line change 55module HaskellCI.GitHub (
66 makeGitHub ,
77 githubHeader ,
8+ -- * For tests
9+ parseGitHubRepo ,
810) where
911
1012import HaskellCI.Prelude
Original file line number Diff line number Diff line change 11module HaskellCI.ShVersionRange (
22 compilerVersionPredicate ,
33 compilerVersionArithPredicate ,
4- ) where
4+ roundDown ,
5+ ) where
56
67import HaskellCI.Prelude
78
@@ -16,6 +17,8 @@ import HaskellCI.Compiler
1617
1718-- $setup
1819-- >>> import Distribution.Pretty (prettyShow)
20+ -- >>> import qualified Data.Set as S
21+ -- >>> import qualified Distribution.Version as C
1922
2023compilerVersionPredicate :: Set CompilerVersion -> CompilerRange -> String
2124compilerVersionPredicate = compilerVersionPredicateImpl (toTest . freeToArith) where
Original file line number Diff line number Diff line change @@ -13,7 +13,10 @@ module HaskellCI.YamlSyntax (
1313 (~>) ,
1414 ykeyValuesFilt ,
1515 ylistFilt ,
16- ) where
16+ -- * Exported for tests
17+ encodeYAMLString ,
18+ hexChar ,
19+ ) where
1720
1821import HaskellCI.Prelude
1922import Prelude ()
@@ -43,6 +46,7 @@ import Numeric (showHex)
4346
4447-- $setup
4548-- >>> :set -XOverloadedStrings
49+ -- >>> import qualified Data.Aeson as Aeson
4650
4751-------------------------------------------------------------------------------
4852-- Yaml syntx
You can’t perform that action at this time.
0 commit comments