module Coronate::Builder::ProjectBuilder

Public Instance Methods

build_project() click to toggle source
# 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