Sha256: 39f5d8697301c3ae82bc0cf63fd42422dfc0025f4700c24cf035ffe1956c1dc3

Contents?: true

Size: 362 Bytes

Versions: 1

Compression:

Stored size: 362 Bytes

Contents

namespace :hyrax do
  namespace :workflow do
    desc "Load workflow configuration into the database"
    task load: :environment do
      Hyrax::Workflow::WorkflowImporter.load_workflows
      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

1 entries across 1 versions & 1 rubygems

Version Path
test_hyrax-0.0.1.alpha lib/tasks/workflow.rake