Class: EasyEb::Generators::Install

Inherits:
Thor::Group
  • Object
show all
Includes:
Thor::Actions
Defined in:
lib/easy_eb/generators/install.rb

Class Method Summary collapse

Instance Method Summary collapse

Class Method Details

.source_rootObject



8
9
10
# File 'lib/easy_eb/generators/install.rb', line 8

def self.source_root
  "#{File.dirname(__FILE__)}/template"
end

Instance Method Details

#copy_helper_scriptsObject



12
13
14
15
16
17
18
# File 'lib/easy_eb/generators/install.rb', line 12

def copy_helper_scripts
  copy_file "bin/ebenv"
  copy_file "bin/eb-exec-hook"

  chmod "bin/ebenv", 777
  chmod "bin/eb-exec-hook", 777
end