Skip to content

Commit

Permalink
Write a cabal.project file
Browse files Browse the repository at this point in the history
As suggested in #617. Taken fron haskell#624
  • Loading branch information
pepeiborra committed Jun 14, 2020
1 parent aedd98e commit 1f8c237
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions bench/Main.hs
Original file line number Diff line number Diff line change
Expand Up @@ -373,6 +373,10 @@ setup = do
writeFile
(examplesPath </> examplePackage </> "hie.yaml")
exampleCradle
-- Need this in case there is a parent cabal.project somewhere
writeFile
(examplesPath </> examplePackage </> "cabal.project")
"packages: ."

whenJust (shakeProfiling ?config) $ createDirectoryIfMissing True

Expand Down

0 comments on commit 1f8c237

Please sign in to comment.