Sha256: c3400c003345f15f20f366f1d2e20a648d95c0a252a387bb95067c460d434f85

Contents?: true

Size: 677 Bytes

Versions: 15

Compression:

Stored size: 677 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 --skip-frontend --skip-admin]
    end
  end
end

Version data entries

15 entries across 15 versions & 1 rubygems

Version Path
mno-enterprise-core-3.2.1 lib/mno_enterprise/testing_support/common_rake.rb
mno-enterprise-core-3.2.0 lib/mno_enterprise/testing_support/common_rake.rb
mno-enterprise-core-3.1.4 lib/mno_enterprise/testing_support/common_rake.rb
mno-enterprise-core-3.0.7 lib/mno_enterprise/testing_support/common_rake.rb
mno-enterprise-core-3.1.3 lib/mno_enterprise/testing_support/common_rake.rb
mno-enterprise-core-3.0.6 lib/mno_enterprise/testing_support/common_rake.rb
mno-enterprise-core-3.1.2 lib/mno_enterprise/testing_support/common_rake.rb
mno-enterprise-core-3.0.5 lib/mno_enterprise/testing_support/common_rake.rb
mno-enterprise-core-3.1.1 lib/mno_enterprise/testing_support/common_rake.rb
mno-enterprise-core-3.0.4 lib/mno_enterprise/testing_support/common_rake.rb
mno-enterprise-core-3.1.0 lib/mno_enterprise/testing_support/common_rake.rb
mno-enterprise-core-3.0.3 lib/mno_enterprise/testing_support/common_rake.rb
mno-enterprise-core-3.0.2 lib/mno_enterprise/testing_support/common_rake.rb
mno-enterprise-core-3.0.1 lib/mno_enterprise/testing_support/common_rake.rb
mno-enterprise-core-3.0.0 lib/mno_enterprise/testing_support/common_rake.rb