Sha256: 98e3a8278ea74e5c05bc0b224cad99fc0e40d0e613c87b1194e29e017e18c37e
Contents?: true
Size: 466 Bytes
Versions: 2
Compression:
Stored size: 466 Bytes
Contents
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" ] ) sh "cd #{dummy_app_path} && bundle exec rake assets:precompile" end end
Version data entries
2 entries across 2 versions & 2 rubygems
Version | Path |
---|---|
decidim-dev-0.0.8.1 | lib/tasks/test_app.rake |
decidim-0.0.8.1 | decidim-dev/lib/tasks/test_app.rake |