Browse Source

Add import definition to rake file

pull/1799/head
Rachael Booth 3 years ago
parent
commit
3f8563a046
  1. 2
      lib/tasks/full_import.rake

2
lib/tasks/full_import.rake

@ -1,3 +1,5 @@
Import = Struct.new("Import", :import_class, :import_method, :folder)
namespace :import do namespace :import do
desc "Run a full import for the institutions listed in the named file on s3" desc "Run a full import for the institutions listed in the named file on s3"
task :full, %i[institutions_csv_name] => :environment do |_task, args| task :full, %i[institutions_csv_name] => :environment do |_task, args|

Loading…
Cancel
Save