aboutsummaryrefslogtreecommitdiff
path: root/Rakefile
diff options
context:
space:
mode:
authorMiquel Sabaté Solà <msabate@suse.com>2018-02-19 17:05:26 +0100
committerMiquel Sabaté Solà <msabate@suse.com>2018-02-19 17:05:26 +0100
commiteac195d44eb1e201ac1b668972e3e2f9f74b2e0a (patch)
tree5040cf7582db412ae929e5a6df5c58b1e0dba6f8 /Rakefile
parent77cd36c158624808e657e5dbb5ec8bc026fafa55 (diff)
downloadjo.mssola.com-eac195d44eb1e201ac1b668972e3e2f9f74b2e0a.tar.gz
jo.mssola.com-eac195d44eb1e201ac1b668972e3e2f9f74b2e0a.zip
test: let HTMLProofer pick the proper dir
Signed-off-by: Miquel Sabaté Solà <msabate@suse.com>
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]