Skip to content

Commit

Permalink
Minor tweak to desc and error output on debug task.
Browse files Browse the repository at this point in the history
[git-p4: depot-paths = "//src/ZenWeb/dev/": change = 12403]
  • Loading branch information
zenspider committed Nov 10, 2019
1 parent b7625c9 commit 7c4fbb5
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Rakefile
Original file line number Diff line number Diff line change
Expand Up @@ -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
4 changes: 2 additions & 2 deletions lib/zenweb/tasks.rake
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand All @@ -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

0 comments on commit 7c4fbb5

Please sign in to comment.