Sha256: f156918c978c9fc6f92052b2e3050101187f948b6f8947a176e542be03a02f31
Contents?: true
Size: 477 Bytes
Versions: 25
Compression:
Stored size: 477 Bytes
Contents
# frozen_string_literal: true namespace :hyrax do namespace :workflow do desc "Load workflow configuration into the database" task load: :environment do logger = Logger.new(STDOUT) logger.level = Logger::DEBUG Hyrax::Workflow::WorkflowImporter.load_workflows(logger: logger) errors = Hyrax::Workflow::WorkflowImporter.load_errors abort("Failed to process all workflows:\n #{errors.join('\n ')}") unless errors.empty? end end end
Version data entries
25 entries across 25 versions & 1 rubygems