Sha256: 718521dc7e8e4f643e1e9324aad219616967bb1f5387cc1f18e7f1aa7d9cb13e

Contents?: true

Size: 939 Bytes

Versions: 12

Compression:

Stored size: 939 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",
    :"decidim:webpacker:upgrade",
    :"decidim_api:generate_docs"
  ]

  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

12 entries across 12 versions & 1 rubygems

Version Path
decidim-core-0.27.9 lib/tasks/decidim_tasks.rake
decidim-core-0.27.8 lib/tasks/decidim_tasks.rake
decidim-core-0.27.7 lib/tasks/decidim_tasks.rake
decidim-core-0.27.6 lib/tasks/decidim_tasks.rake
decidim-core-0.27.5 lib/tasks/decidim_tasks.rake
decidim-core-0.27.4 lib/tasks/decidim_tasks.rake
decidim-core-0.27.3 lib/tasks/decidim_tasks.rake
decidim-core-0.27.2 lib/tasks/decidim_tasks.rake
decidim-core-0.27.1 lib/tasks/decidim_tasks.rake
decidim-core-0.27.0 lib/tasks/decidim_tasks.rake
decidim-core-0.27.0.rc2 lib/tasks/decidim_tasks.rake
decidim-core-0.27.0.rc1 lib/tasks/decidim_tasks.rake