module Luban::Deployment::Helpers::Generator::Application

Public Instance Methods

application_class_name() click to toggle source
# File lib/luban/deployment/helpers/generator.rb, line 126
def application_class_name
  "#{project}:#{application}".camelcase
end
application_skeleton_path() click to toggle source
# File lib/luban/deployment/helpers/generator.rb, line 118
def application_skeleton_path
  @application_skeleton_path ||= skeletons_path.join('application')
end
application_target_path() click to toggle source
# File lib/luban/deployment/helpers/generator.rb, line 122
def application_target_path
  @application_target_path ||= apps_path.join(application)
end
create_application_skeleton() click to toggle source
# File lib/luban/deployment/helpers/generator.rb, line 130
def create_application_skeleton
  puts "Creating skeleton for #{stage} application #{application_class_name}"
  copy_dir(application_skeleton_path, application_target_path, stages: [stage])
end