Sha256: 9cdb5013837a55e74f0b10d0e40b9ce2dde94d2a8aea4e5683a560dc071e7cde

Contents?: true

Size: 648 Bytes

Versions: 10

Compression:

Stored size: 648 Bytes

Contents

unless defined?(MnoEnterprise::Generators::InstallGenerator)
  require 'generators/mno_enterprise/install/install_generator'
end

require 'generators/mno_enterprise/dummy/dummy_generator'

namespace :mno_enterprise do
  namespace :testing do
    desc "Generate a dummy app for testing"
    task :create_dummy_app do
      require "#{ENV['LIB_NAME']}"

      ENV["RAILS_ENV"] = 'test'

      MnoEnterprise::DummyGenerator.start %W[--quiet --lib_name=#{ENV['LIB_NAME']} --database=#{ENV['DB'].presence || 'sqlite3'}]
      MnoEnterprise::Generators::InstallGenerator.start %w[--quiet --skip-rspec --skip-sprite --skip-factory-girl]
    end
  end
end

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
mno-enterprise-core-2.0.9 lib/mno_enterprise/testing_support/common_rake.rb
mno-enterprise-core-2.0.8 lib/mno_enterprise/testing_support/common_rake.rb
mno-enterprise-core-2.0.7 lib/mno_enterprise/testing_support/common_rake.rb
mno-enterprise-core-2.0.6 lib/mno_enterprise/testing_support/common_rake.rb
mno-enterprise-core-2.0.5 lib/mno_enterprise/testing_support/common_rake.rb
mno-enterprise-core-2.0.4 lib/mno_enterprise/testing_support/common_rake.rb
mno-enterprise-core-2.0.3 lib/mno_enterprise/testing_support/common_rake.rb
mno-enterprise-core-2.0.2 lib/mno_enterprise/testing_support/common_rake.rb
mno-enterprise-core-2.0.1 lib/mno_enterprise/testing_support/common_rake.rb
mno-enterprise-core-2.0.0 lib/mno_enterprise/testing_support/common_rake.rb