You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
12 lines
249 B
Ruby
12 lines
249 B
Ruby
11 years ago
|
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
|