Module: Ccb::Builder::ProjectBuilder
- Defined in:
- lib/ccb/builder/project_builder.rb
Instance Method Summary collapse
Instance Method Details
#build_project ⇒ Object
4 5 6 7 8 9 10 |
# File 'lib/ccb/builder/project_builder.rb', line 4 def build_project directory 'builder/templates/project/folder', "#{@name}" template 'builder/templates/project/_cocos-project.json', "#{@name}/.cocos-project.json" template 'builder/templates/project/index.html.tt', "#{@name}/index.html" template 'builder/templates/project/main.js.tt', "#{@name}/main.js" template 'builder/templates/project/GameConfig.js.tt', "#{@name}/src/config/GameConfig.js" end |