File tree Expand file tree Collapse file tree 9 files changed +11
-13
lines changed Expand file tree Collapse file tree 9 files changed +11
-13
lines changed Original file line number Diff line number Diff line change 11cabal-version : 2.2
22name : Cabal-hooks
3- version : 0.1
3+ version : 3.14
44copyright : 2023, Cabal Development Team
55license : BSD-3-Clause
66license-file : LICENSE
Original file line number Diff line number Diff line change 11# Changelog for ` Cabal-hooks `
22
3- ## 0.1 – December 2023
3+ ## 3.14 – November 2024
44
55 * Initial release of the ` Hooks ` API.
66
Original file line number Diff line number Diff line change @@ -260,7 +260,7 @@ Usage example:
260260> custom-setup
261261> setup-depends:
262262> base >= 4.18 && < 5,
263- > Cabal-hooks >= 0.1 && < 0.2
263+ > Cabal-hooks >= 3.14 && < 3.15
264264>
265265> The declared Cabal version should also be at least 3.14.
266266
Original file line number Diff line number Diff line change 202202 "revision" : null ,
203203 "source" : " local" ,
204204 "src_sha256" : null ,
205- "version" : " 0.1 "
205+ "version" : " 3.14 "
206206 },
207207 {
208208 "cabal_sha256" : " 60e78b6c60dc32a77ce6c37ed5ca4e838fc5f76f02836ef64d93cd21cc002325" ,
Original file line number Diff line number Diff line change 172172 "revision" : null ,
173173 "source" : " local" ,
174174 "src_sha256" : null ,
175- "version" : " 0.1 "
175+ "version" : " 3.14 "
176176 },
177177 {
178178 "cabal_sha256" : " 60e78b6c60dc32a77ce6c37ed5ca4e838fc5f76f02836ef64d93cd21cc002325" ,
Original file line number Diff line number Diff line change 172172 "revision" : null ,
173173 "source" : " local" ,
174174 "src_sha256" : null ,
175- "version" : " 0.1 "
175+ "version" : " 3.14 "
176176 },
177177 {
178178 "cabal_sha256" : " 60e78b6c60dc32a77ce6c37ed5ca4e838fc5f76f02836ef64d93cd21cc002325" ,
Original file line number Diff line number Diff line change 132132 "revision" : null ,
133133 "source" : " local" ,
134134 "src_sha256" : null ,
135- "version" : " 0.1 "
135+ "version" : " 3.14 "
136136 },
137137 {
138138 "cabal_sha256" : " 60e78b6c60dc32a77ce6c37ed5ca4e838fc5f76f02836ef64d93cd21cc002325" ,
Original file line number Diff line number Diff line change 136136 "revision" : null ,
137137 "source" : " local" ,
138138 "src_sha256" : null ,
139- "version" : " 0.1 "
139+ "version" : " 3.14 "
140140 },
141141 {
142142 "cabal_sha256" : " 60e78b6c60dc32a77ce6c37ed5ca4e838fc5f76f02836ef64d93cd21cc002325" ,
Original file line number Diff line number Diff line change @@ -161,12 +161,10 @@ buildCabalLibsSpecific ver verb mbGhc builddir_rel = do
161161 csgot <- doesDirectoryExist (dir </> " Cabal-syntax-" ++ ver)
162162 unless csgot $
163163 runProgramInvocation verb ((programInvocation cabal [" get" , " Cabal-syntax-" ++ ver]) { progInvokeCwd = Just dir })
164- let hooksVerFromVer _ = " 0.1"
165- hooksVer = hooksVerFromVer ver
166- chgot <- doesDirectoryExist (dir </> " Cabal-hooks-" ++ hooksVer)
164+ chgot <- doesDirectoryExist (dir </> " Cabal-hooks-" ++ ver)
167165 unless chgot $
168- runProgramInvocation verb ((programInvocation cabal [" get" , " Cabal-hooks-" ++ hooksVer ]) { progInvokeCwd = Just dir })
169- buildCabalLibsProject (" packages: Cabal-" ++ ver ++ " Cabal-syntax-" ++ ver ++ " Cabal-hooks-" ++ hooksVer ) verb mbGhc dir
166+ runProgramInvocation verb ((programInvocation cabal [" get" , " Cabal-hooks-" ++ ver ]) { progInvokeCwd = Just dir })
167+ buildCabalLibsProject (" packages: Cabal-" ++ ver ++ " Cabal-syntax-" ++ ver ++ " Cabal-hooks-" ++ ver ) verb mbGhc dir
170168
171169
172170buildCabalLibsIntree :: String -> Verbosity -> Maybe FilePath -> FilePath -> IO [FilePath ]
You can’t perform that action at this time.
0 commit comments