Module: Coronate::Builder::ProjectBuilder

Defined in:
lib/coronate/builder/project_builder.rb

Instance Method Summary collapse

Instance Method Details

#build_projectObject



4
5
6
7
8
9
10
11
12
13
14
# File 'lib/coronate/builder/project_builder.rb', line 4

def build_project
  empty_directory "#{@name}/assets"
  template 'builder/templates/project/main.tt', "#{@name}/main.lua"
  template 'builder/templates/project/utils.tt', "#{@name}/utils.lua"
  template 'builder/templates/project/titleScene.tt', "#{@name}/titleScene.lua"
  template 'builder/templates/project/endingScene.tt', "#{@name}/endingScene.lua"
  template 'builder/templates/project/settingsScene.tt', "#{@name}/settingsScene.lua"
  template 'builder/templates/project/menuScene.tt', "#{@name}/menuScene.lua"
  template 'builder/templates/project/config.tt', "#{@name}/config.lua"
  template 'builder/templates/project/build.settings.tt', "#{@name}/build.settings"
end