asciinema.org/lib/tasks/generators.rake
2014-02-12 18:55:24 +01:00

14 lines
297 B
Ruby

namespace :asciinema do
namespace :generate do
desc "Generate frames files"
task :frames => :environment do
updater = AsciicastFramesFileUpdater.new
Asciicast.where(stdout_frames: nil).find_each do |a|
puts a.id
updater.update(a)
end
end
end
end