From 81ba2151c49c4ee4fc803f256d5b0d734489ceb0 Mon Sep 17 00:00:00 2001 From: Pepe Iborra Date: Fri, 1 Apr 2022 15:31:36 +0100 Subject: [PATCH] bench-hist: track changes to hls-* projects (#2803) Co-authored-by: wz1000 --- ghcide/bench/hist/Main.hs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/ghcide/bench/hist/Main.hs b/ghcide/bench/hist/Main.hs index 4fabc04da5..f09e247268 100644 --- a/ghcide/bench/hist/Main.hs +++ b/ghcide/bench/hist/Main.hs @@ -57,7 +57,6 @@ import Numeric.Natural (Natural) import System.Console.GetOpt import System.FilePath - configPath :: FilePath configPath = "bench/config.yaml" @@ -88,6 +87,8 @@ ghcideBuildRules :: MkBuildRules BuildSystem ghcideBuildRules = MkBuildRules findGhcForBuildSystem "ghcide" projectDepends buildGhcide where projectDepends = do + need . map ("../hls-graph/src" ) =<< getDirectoryFiles "../hls-graph/src" ["//*.hs"] + need . map ("../hls-plugin-api/src" ) =<< getDirectoryFiles "../hls-plugin-api/src" ["//*.hs"] need . map ("src" ) =<< getDirectoryFiles "src" ["//*.hs"] need . map ("session-loader" ) =<< getDirectoryFiles "session-loader" ["//*.hs"] need =<< getDirectoryFiles "." ["*.cabal"]