From 7c4fbb5aea9fc2acc90ff641ca5b49f0728cee28 Mon Sep 17 00:00:00 2001 From: Ryan Davis Date: Sun, 10 Nov 2019 00:09:02 -0800 Subject: [PATCH] Minor tweak to desc and error output on debug task. [git-p4: depot-paths = "//src/ZenWeb/dev/": change = 12403] --- Rakefile | 2 +- lib/zenweb/tasks.rake | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Rakefile b/Rakefile index 839be77..b4463f5 100644 --- a/Rakefile +++ b/Rakefile @@ -13,7 +13,7 @@ Hoe.spec 'zenweb' do dependency "makerakeworkwell", "~> 1.0" dependency "less", "~> 2.0" dependency "coderay", "~> 1.0" - dependency "kramdown", "~> 1.4" + dependency "kramdown", "~> 1.4" # TODO: 1.17.0 -> 2.1.0 end # vim: syntax=ruby diff --git a/lib/zenweb/tasks.rake b/lib/zenweb/tasks.rake index 8135bc9..f901b3a 100644 --- a/lib/zenweb/tasks.rake +++ b/lib/zenweb/tasks.rake @@ -182,7 +182,7 @@ end website if ENV['DEBUG'] -desc "Debug the generation of a file. Takes a PAGE/F/FILE arg or defaults to index.html.erb." +desc "Debug the generation of a file. Takes a F=path arg or defaults to index.html.erb." task :debug do site = website @@ -196,6 +196,6 @@ task :debug do puts puts File.read page.url_path else - fail "Could not find %p" % [path] + fail "Could not find F=%p" % [path] end end