Sha256: 3cc8533d2f39cdb42da95e680c06940d43c3edded16d03699d2a3bbec1629c6c

Contents?: true

Size: 784 Bytes

Versions: 8

Compression:

Stored size: 784 Bytes

Contents

#!/usr/bin/env ruby

require File.expand_path(File.join('..', 'lib', 'replicator', 'generators', 'app_generator'), File.dirname(__FILE__))
require File.expand_path(File.join('..', 'lib', 'replicator', 'actions'), File.dirname(__FILE__))
require File.expand_path(File.join('..', 'lib', 'replicator', 'app_builder'), File.dirname(__FILE__))

if ['create', '--create'].include? ARGV[0]
  ARGV.shift
  puts "[WARNING] the replicator create argument is deprecated. Just use `replicator #{ARGV.join}` instead"
end

templates_root = File.expand_path(File.join("..", "templates"), File.dirname(__FILE__))
Replicator::AppGenerator.source_root templates_root
Replicator::AppGenerator.source_paths << Rails::Generators::AppGenerator.source_root << templates_root

Replicator::AppGenerator.start

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
rails-replicator-0.1.7 bin/replicator
rails-replicator-0.1.6 bin/replicator
rails-replicator-0.1.5 bin/replicator
rails-replicator-0.1.4 bin/replicator
rails-replicator-0.1.3 bin/replicator
rails-replicator-0.1.2 bin/replicator
rails-replicator-0.1.1 bin/replicator
rails-replicator-0.1.0 bin/replicator