Skip to content

Commit a706a36

Browse files
committed
FOURMOLU_DISABLE IdrisSetup
1 parent f73f9f6 commit a706a36

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

Cabal-tests/tests/custom-setup/IdrisSetup.hs

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -92,12 +92,14 @@ idrisCmd local = Px.joinPath $ splitDirectories $ ".." Px.</> ".." Px.</> bd Px.
9292
#else
9393
idrisCmd local = ".." </> ".." </> bd </> "idris" </> "idris"
9494
#endif
95+
{- FOURMOLU_DISABLE -}
9596
where
9697
bd =
9798
#if MIN_VERSION_Cabal(3,11,0)
9899
getSymbolicPath $
99100
#endif
100101
buildDir local
102+
{- FOURMOLU_ENABLE -}
101103

102104
-- -----------------------------------------------------------------------------
103105
-- Make Commands
@@ -223,6 +225,7 @@ generateToolchainModule verbosity srcDir toolDir = do
223225
createDirectoryIfMissingVerbose verbosity True srcDir
224226
rewriteFileEx verbosity toolPath (commonContent ++ toolContent)
225227

228+
{- FOURMOLU_DISABLE -}
226229
idrisConfigure _ flags pkgdesc local = do
227230
configureRTS
228231
withLibLBI pkgdesc local $ \_ libcfg -> do
@@ -256,6 +259,7 @@ idrisConfigure _ flags pkgdesc local = do
256259
#if !(MIN_VERSION_Cabal(2,0,0))
257260
autogenComponentModulesDir lbi _ = autogenModulesDir lbi
258261
#endif
262+
{- FOURMOLU_ENABLE -}
259263

260264
#if !MIN_VERSION_Cabal(3,0,0)
261265
idrisPreSDist args flags = do
@@ -372,6 +376,7 @@ idrisInstall verbosity copy pkg local
372376
-- We want it to be the install directory where we put the idris libraries.
373377
fixPkg pkg target = pkg { dataDir = target }
374378

379+
{- FOURMOLU_DISABLE -}
375380
idrisTestHook args pkg local hooks flags = do
376381
let target =
377382
#if MIN_VERSION_Cabal(3,11,0)
@@ -403,3 +408,4 @@ main = defaultMainWithHooks $ simpleUserHooks
403408
#endif
404409
, testHook = idrisTestHook
405410
}
411+
{- FOURMOLU_ENABLE -}

0 commit comments

Comments
 (0)