Sha256: 7e422e000b981d4c567fcac0da4dcd0f0580e7fd6890c7bb8338472506aae9e9

Contents?: true

Size: 402 Bytes

Versions: 10

Compression:

Stored size: 402 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}",
        "--quiet"
      ]
    )
  end
end

Version data entries

10 entries across 10 versions & 2 rubygems

Version Path
decidim-dev-0.6.0 lib/tasks/test_app.rake
decidim-0.6.0 decidim-dev/lib/tasks/test_app.rake
decidim-dev-0.5.1 lib/tasks/test_app.rake
decidim-0.5.1 decidim-dev/lib/tasks/test_app.rake
decidim-dev-0.5.0 lib/tasks/test_app.rake
decidim-0.5.0 decidim-dev/lib/tasks/test_app.rake
decidim-dev-0.4.4 lib/tasks/test_app.rake
decidim-0.4.4 decidim-dev/lib/tasks/test_app.rake
decidim-dev-0.4.3 lib/tasks/test_app.rake
decidim-0.4.3 decidim-dev/lib/tasks/test_app.rake