Sha256: 2b504c3cb57e875244689e858f4757d538df4f8cb7f3f85760becc6becef6de8

Contents?: true

Size: 541 Bytes

Versions: 9

Compression:

Stored size: 541 Bytes

Contents

# frozen_string_literal: true

require "generators/decidim/app_generator"

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

    Decidim::Generators::AppGenerator.start(
      [
        dummy_app_path,
        "--path",
        "../..",
        "--recreate_db",
        "--app_const_base=DummyApplication",
        "--skip_gemfile",
        "--demo"
      ]
    )
  end
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
decidim-dev-0.9.3 lib/tasks/test_app.rake
decidim-dev-0.9.2 lib/tasks/test_app.rake
decidim-dev-0.9.1 lib/tasks/test_app.rake
decidim-dev-0.9.0 lib/tasks/test_app.rake
decidim-dev-0.8.4 lib/tasks/test_app.rake
decidim-dev-0.8.3 lib/tasks/test_app.rake
decidim-dev-0.8.2 lib/tasks/test_app.rake
decidim-dev-0.8.1 lib/tasks/test_app.rake
decidim-dev-0.8.0 lib/tasks/test_app.rake