Sha256: ffaf0f59598038197324b9fbc19b7a61a6d318796820cc02ef25c223d4b84e75

Contents?: true

Size: 859 Bytes

Versions: 14

Compression:

Stored size: 859 Bytes

Contents

# frozen_string_literal: true

namespace :decidim do
  desc "Install migrations from Decidim to the app."
  task upgrade: [:choose_target_plugins, :"railties:install:migrations"]

  desc "Setup environment so that only decidim migrations are installed."
  task :choose_target_plugins do
    ENV["FROM"] = %w(
      decidim
      decidim_accountability
      decidim_admin
      decidim_assemblies
      decidim_blogs
      decidim_budgets
      decidim_comments
      decidim_conferences
      decidim_consultations
      decidim_debates
      decidim_elections
      decidim_forms
      decidim_initiatives
      decidim_meetings
      decidim_pages
      decidim_participatory_processes
      decidim_proposals
      decidim_sortitions
      decidim_surveys
      decidim_system
      decidim_templates
      decidim_verifications
    ).join(",")
  end
end

Version data entries

14 entries across 14 versions & 1 rubygems

Version Path
decidim-core-0.24.3 lib/tasks/decidim_tasks.rake
decidim-core-0.23.6 lib/tasks/decidim_tasks.rake
decidim-core-0.24.2 lib/tasks/decidim_tasks.rake
decidim-core-0.23.5 lib/tasks/decidim_tasks.rake
decidim-core-0.24.1 lib/tasks/decidim_tasks.rake
decidim-core-0.24.0 lib/tasks/decidim_tasks.rake
decidim-core-0.24.0.rc2 lib/tasks/decidim_tasks.rake
decidim-core-0.23.4 lib/tasks/decidim_tasks.rake
decidim-core-0.24.0.rc1 lib/tasks/decidim_tasks.rake
decidim-core-0.23.3 lib/tasks/decidim_tasks.rake
decidim-core-0.23.2 lib/tasks/decidim_tasks.rake
decidim-core-0.23.1 lib/tasks/decidim_tasks.rake
decidim-core-0.23.1.rc1 lib/tasks/decidim_tasks.rake
decidim-core-0.23.0 lib/tasks/decidim_tasks.rake