12 lines
249 B
Ruby
12 lines
249 B
Ruby
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
|