Class: Isomorfeus::Installer::NewProject

Inherits:
Object
  • Object
show all
Extended by:
DSL
Defined in:
lib/isomorfeus/installer/new_project.rb

Class Method Summary collapse

Methods included from DSL

config_path, copy_file, create_common_framework_directories, create_directory, create_file_from_template, install_basic_components, install_basic_policy, install_rake_file, install_spec_files

Class Method Details

.executeObject



6
7
8
9
10
11
12
13
14
15
16
17
# File 'lib/isomorfeus/installer/new_project.rb', line 6

def self.execute
  begin
    create_common_framework_directories
    install_basic_components
    install_basic_policy
    install_spec_files
    install_rake_file
  rescue Exception => e
    puts e.backtrace.join("\n")
    puts "Installation failed: #{e.message}"
  end
end