From eac195d44eb1e201ac1b668972e3e2f9f74b2e0a Mon Sep 17 00:00:00 2001 From: Miquel Sabaté Solà Date: Mon, 19 Feb 2018 17:05:26 +0100 Subject: test: let HTMLProofer pick the proper dir MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Miquel Sabaté Solà --- Rakefile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'Rakefile') diff --git a/Rakefile b/Rakefile index 1fb29c0..f426179 100644 --- a/Rakefile +++ b/Rakefile @@ -32,7 +32,9 @@ task :test do timeframe: "6w" } } - HTMLProofer.check_directory("./_site", options).run + + dir = ENV["BUILD_DEST"] || "./_site" + HTMLProofer.check_directory(dir, options).run end task default: [:test] -- cgit v1.2.3