Sha256: 7d867d64201dbdb0e4cd3130a995467f9311ce20255d6cf585a8e7120f564e55

Contents?: true

Size: 428 Bytes

Versions: 14

Compression:

Stored size: 428 Bytes

Contents

# frozen_string_literal: true

require "generators/decidim/dummy_generator"

namespace :decidim do
  desc "Generates a dummy app for testing"
  task :generate_test_app do
    dummy_app_path = File.expand_path(File.join(Dir.pwd, "spec", "decidim_dummy_app"))

    Decidim::Generators::DummyGenerator.start(
      [
        "--dummy_app_path=#{dummy_app_path}",
        "--migrate=true",
        "--quiet"
      ]
    )
  end
end

Version data entries

14 entries across 14 versions & 2 rubygems

Version Path
decidim-dev-0.4.1 lib/tasks/test_app.rake
decidim-dev-0.4.2 lib/tasks/test_app.rake
decidim-0.4.2 decidim-dev/lib/tasks/test_app.rake
decidim-0.4.1 decidim-dev/lib/tasks/test_app.rake
decidim-dev-0.4.0 lib/tasks/test_app.rake
decidim-0.4.0 decidim-dev/lib/tasks/test_app.rake
decidim-dev-0.3.2 lib/tasks/test_app.rake
decidim-0.3.2 decidim-dev/lib/tasks/test_app.rake
decidim-dev-0.3.1 lib/tasks/test_app.rake
decidim-0.3.1 decidim-dev/lib/tasks/test_app.rake
decidim-dev-0.3.0 lib/tasks/test_app.rake
decidim-0.3.0 decidim-dev/lib/tasks/test_app.rake
decidim-dev-0.2.0 lib/tasks/test_app.rake
decidim-0.2.0 decidim-dev/lib/tasks/test_app.rake