sanger/record_loader

View on GitHub
lib/generators/record_loader/static_files/record_loader.rake

Summary

Maintainability
Test Coverage
# frozen_string_literal: true

# This file was automatically generated by `rails g record_loader`
# It is not necessary to modify this file, instead individual tasks
# will register themselves as a dependency.
namespace :record_loader do
  desc 'Automatically runs all record loader tasks'
  task :all do
    puts 'Loading all records'
  end
end

# In Sanger PSD we have the ansible deployment project configured to run `rake application:post_deploy` after migrations
# for selected applications.
# Uncomment the following to automatically trigger record loader on running the application:post_deploy task.
# You may need to set `post_deploy: true` in the ansible configuration for your application.
# task 'application:post_deploy' => 'record_loader:all'