Skip to content

Commit

Permalink
Add tasks to stream.rake for new dumpers
Browse files Browse the repository at this point in the history
  • Loading branch information
NuckChorris committed Jul 17, 2017
1 parent 9b947b6 commit ed0de4f
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions lib/tasks/stream.rake
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,14 @@ namespace :stream do
end
end

task unit_auto_follows: :load_dumper do
StreamDump.unit_auto_follows.each { |instr| STDOUT.puts instr.to_json }
end

task unit_posts: :load_dumper do
StreamDump.unit_posts.each { |instr| STDOUT.puts instr.to_json }
end

task progress_follows: :load_dumper do
StreamDump.library_progress_follows.each { |instr| STDOUT.puts instr.to_json }
end
Expand Down

0 comments on commit ed0de4f

Please sign in to comment.