aboutsummaryrefslogtreecommitdiff
path: root/Rakefile
diff options
context:
space:
mode:
Diffstat (limited to 'Rakefile')
-rw-r--r--Rakefile4
1 files changed, 3 insertions, 1 deletions
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]