From 9a476d8d7cd117aeacffdf85322c8d40bec34bd1 Mon Sep 17 00:00:00 2001 From: Pepe Iborra Date: Sun, 27 Mar 2022 12:14:22 +0100 Subject: [PATCH] bench-hist: track changes to hls-* projects --- 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"]