lib/repl.rb in runeblog-0.1.28 vs lib/repl.rb in runeblog-0.1.29
- old
+ new
@@ -107,10 +107,13 @@
debug "Starting cmd_rebuild..."
reset_output
check_empty(arg)
puts unless testing
files = @blog.find_src_slugs
- files.each {|file| @blog.rebuild_post(file) }
+ files.each do |file|
+ @blog.rebuild_post(file)
+ end
+ File.write("last_rebuild", Time.now)
[true, @out]
end
def cmd_relink(arg, testing = false)
reset_output