Sha256: e134a7869d978726b577873b989f7e07ecf4eae721bdbc228417ca9b00133cc0

Contents?: true

Size: 471 Bytes

Versions: 1

Compression:

Stored size: 471 Bytes

Contents

#!/usr/bin/env ruby
require 'rubygems'
require 'zena/info'
require 'rails/version'
require 'rails_generator'
require 'rails_generator/scripts/generate'

template_path = File.join(Zena::ROOT, 'lib', 'zena', 'deploy', 'template.rb')
args = ["-m", template_path]
args << ARGV.first

puts "Generating zena application from template #{template_path}"
Rails::Generator::Base.use_application_sources!
Rails::Generator::Scripts::Generate.new.run(
  args,
  :generator => 'app'
)

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
zena-0.15.2 bin/zena