Skip to content

Commit 81ba215

Browse files
pepeiborrawz1000
andauthored
bench-hist: track changes to hls-* projects (#2803)
Co-authored-by: wz1000 <[email protected]>
1 parent 8466bc1 commit 81ba215

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Diff for: ghcide/bench/hist/Main.hs

+2-1
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,6 @@ import Numeric.Natural (Natural)
5757
import System.Console.GetOpt
5858
import System.FilePath
5959

60-
6160
configPath :: FilePath
6261
configPath = "bench/config.yaml"
6362

@@ -88,6 +87,8 @@ ghcideBuildRules :: MkBuildRules BuildSystem
8887
ghcideBuildRules = MkBuildRules findGhcForBuildSystem "ghcide" projectDepends buildGhcide
8988
where
9089
projectDepends = do
90+
need . map ("../hls-graph/src" </>) =<< getDirectoryFiles "../hls-graph/src" ["//*.hs"]
91+
need . map ("../hls-plugin-api/src" </>) =<< getDirectoryFiles "../hls-plugin-api/src" ["//*.hs"]
9192
need . map ("src" </>) =<< getDirectoryFiles "src" ["//*.hs"]
9293
need . map ("session-loader" </>) =<< getDirectoryFiles "session-loader" ["//*.hs"]
9394
need =<< getDirectoryFiles "." ["*.cabal"]

0 commit comments

Comments
 (0)