From e96889d865cd00621430cb9e3b37d4667deef3ad Mon Sep 17 00:00:00 2001 From: u0u0 Date: Mon, 27 Jan 2020 20:44:29 +0800 Subject: [PATCH] =?UTF-8?q?=E7=A7=BB=E5=8A=A8=20templete=20=E6=96=87?= =?UTF-8?q?=E4=BB=B6=E5=A4=B9=E3=80=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../{lua-template-default => }/CMakeLists.txt | 0 templates/{lua-template-default => }/config.json | 0 .../frameworks/runtime-src/Classes/AppDelegate.cpp | 0 .../frameworks/runtime-src/Classes/AppDelegate.h | 0 .../frameworks/runtime-src/proj.android/.gitignore | 0 .../runtime-src/proj.android/app/.gitignore | 0 .../proj.android/app/AndroidManifest.xml | 0 .../runtime-src/proj.android/app/build.gradle | 0 .../proj.android/app/get_environment.sh | 0 .../proj.android/app/jni/hellolua/main.cpp | 0 .../proj.android/app/proguard-rules.pro | 0 .../app/res/mipmap-hdpi/ic_launcher.png | Bin .../app/res/mipmap-mdpi/ic_launcher.png | Bin .../app/res/mipmap-xhdpi/ic_launcher.png | Bin .../app/res/mipmap-xxhdpi/ic_launcher.png | Bin .../proj.android/app/res/values/strings.xml | 0 .../app/src/org/cocos2dx/lua/AppActivity.java | 0 .../runtime-src/proj.android/build.gradle | 0 .../runtime-src/proj.android/gradle.properties | 0 .../proj.android/gradle/wrapper/gradle-wrapper.jar | Bin .../gradle/wrapper/gradle-wrapper.properties | 0 .../frameworks/runtime-src/proj.android/gradlew | 0 .../runtime-src/proj.android/gradlew.bat | 0 .../runtime-src/proj.android/settings.gradle | 0 .../runtime-src/proj.ios_mac/ios/AppController.h | 0 .../runtime-src/proj.ios_mac/ios/AppController.mm | 0 .../AppIcon.appiconset/Contents.json | 0 .../Images.xcassets/AppIcon.appiconset/Icon-20.png | Bin .../AppIcon.appiconset/Icon-20@2x.png | Bin .../AppIcon.appiconset/Icon-20@3x.png | Bin .../Images.xcassets/AppIcon.appiconset/Icon-29.png | Bin .../AppIcon.appiconset/Icon-29@2x.png | Bin .../AppIcon.appiconset/Icon-29@3x.png | Bin .../Images.xcassets/AppIcon.appiconset/Icon-40.png | Bin .../AppIcon.appiconset/Icon-40@2x.png | Bin .../AppIcon.appiconset/Icon-40@3x.png | Bin .../Images.xcassets/AppIcon.appiconset/Icon-50.png | Bin .../AppIcon.appiconset/Icon-50@2x.png | Bin .../Images.xcassets/AppIcon.appiconset/Icon-57.png | Bin .../AppIcon.appiconset/Icon-57@2x.png | Bin .../AppIcon.appiconset/Icon-60@2x.png | Bin .../AppIcon.appiconset/Icon-60@3x.png | Bin .../Images.xcassets/AppIcon.appiconset/Icon-72.png | Bin .../AppIcon.appiconset/Icon-72@2x.png | Bin .../Images.xcassets/AppIcon.appiconset/Icon-76.png | Bin .../AppIcon.appiconset/Icon-76@2x.png | Bin .../AppIcon.appiconset/Icon-83.5@2x.png | Bin .../proj.ios_mac/ios/Images.xcassets/Contents.json | 0 .../runtime-src/proj.ios_mac/ios/Info.plist | 0 .../proj.ios_mac/ios/LaunchScreen.storyboard | 0 .../proj.ios_mac/ios/LaunchScreenBackground.png | Bin .../runtime-src/proj.ios_mac/ios/Prefix.pch | 0 .../proj.ios_mac/ios/RootViewController.h | 0 .../proj.ios_mac/ios/RootViewController.mm | 0 .../runtime-src/proj.ios_mac/ios/build-cfg.json | 0 .../proj.ios_mac/ios/exportoptions.plist | 0 .../frameworks/runtime-src/proj.ios_mac/ios/main.m | 0 .../runtime-src/proj.ios_mac/mac/Icon.icns | Bin .../runtime-src/proj.ios_mac/mac/Info.plist | 0 .../runtime-src/proj.ios_mac/mac/Prefix.pch | 0 .../runtime-src/proj.ios_mac/mac/build-cfg.json | 0 .../runtime-src/proj.ios_mac/mac/main.cpp | 0 .../frameworks/runtime-src/proj.linux/main.cpp | 0 .../runtime-src/proj.win32/build-cfg.json | 0 .../frameworks/runtime-src/proj.win32/game.rc | 0 .../frameworks/runtime-src/proj.win32/main.cpp | 0 .../frameworks/runtime-src/proj.win32/main.h | 0 .../frameworks/runtime-src/proj.win32/res/game.ico | Bin templates/lua-template-default/.project | 13 ------------- .../lua-template-default/.settings/version.json | 4 ---- .../{lua-template-default => }/res/HelloWorld.png | Bin .../{lua-template-default => }/src/app/MyApp.lua | 0 .../src/app/views/MainScene.lua | 0 .../{lua-template-default => }/src/config.lua | 0 .../{lua-template-default => }/src/containers.lua | 0 .../{lua-template-default => }/src/decoder.lua | 0 .../{lua-template-default => }/src/descriptor.lua | 0 .../{lua-template-default => }/src/encoder.lua | 0 .../{lua-template-default => }/src/listener.lua | 0 templates/{lua-template-default => }/src/main.lua | 0 .../src/packages/mvc/AppBase.lua | 0 .../src/packages/mvc/ViewBase.lua | 0 .../src/packages/mvc/init.lua | 0 .../{lua-template-default => }/src/protobuf.lua | 0 .../{lua-template-default => }/src/sproto.lua | 0 .../src/sprotoparser.lua | 0 .../{lua-template-default => }/src/text_format.lua | 0 .../src/type_checkers.lua | 0 .../{lua-template-default => }/src/wire_format.lua | 0 tools/CreateProject.py | 2 +- 90 files changed, 1 insertion(+), 18 deletions(-) rename templates/{lua-template-default => }/CMakeLists.txt (100%) rename templates/{lua-template-default => }/config.json (100%) rename templates/{lua-template-default => }/frameworks/runtime-src/Classes/AppDelegate.cpp (100%) rename templates/{lua-template-default => }/frameworks/runtime-src/Classes/AppDelegate.h (100%) rename templates/{lua-template-default => }/frameworks/runtime-src/proj.android/.gitignore (100%) rename templates/{lua-template-default => }/frameworks/runtime-src/proj.android/app/.gitignore (100%) rename templates/{lua-template-default => }/frameworks/runtime-src/proj.android/app/AndroidManifest.xml (100%) rename templates/{lua-template-default => }/frameworks/runtime-src/proj.android/app/build.gradle (100%) rename templates/{lua-template-default => }/frameworks/runtime-src/proj.android/app/get_environment.sh (100%) rename templates/{lua-template-default => }/frameworks/runtime-src/proj.android/app/jni/hellolua/main.cpp (100%) rename templates/{lua-template-default => }/frameworks/runtime-src/proj.android/app/proguard-rules.pro (100%) rename templates/{lua-template-default => }/frameworks/runtime-src/proj.android/app/res/mipmap-hdpi/ic_launcher.png (100%) rename templates/{lua-template-default => }/frameworks/runtime-src/proj.android/app/res/mipmap-mdpi/ic_launcher.png (100%) rename templates/{lua-template-default => }/frameworks/runtime-src/proj.android/app/res/mipmap-xhdpi/ic_launcher.png (100%) rename templates/{lua-template-default => }/frameworks/runtime-src/proj.android/app/res/mipmap-xxhdpi/ic_launcher.png (100%) rename templates/{lua-template-default => }/frameworks/runtime-src/proj.android/app/res/values/strings.xml (100%) rename templates/{lua-template-default => }/frameworks/runtime-src/proj.android/app/src/org/cocos2dx/lua/AppActivity.java (100%) rename templates/{lua-template-default => }/frameworks/runtime-src/proj.android/build.gradle (100%) rename templates/{lua-template-default => }/frameworks/runtime-src/proj.android/gradle.properties (100%) rename templates/{lua-template-default => }/frameworks/runtime-src/proj.android/gradle/wrapper/gradle-wrapper.jar (100%) rename templates/{lua-template-default => }/frameworks/runtime-src/proj.android/gradle/wrapper/gradle-wrapper.properties (100%) rename templates/{lua-template-default => }/frameworks/runtime-src/proj.android/gradlew (100%) rename templates/{lua-template-default => }/frameworks/runtime-src/proj.android/gradlew.bat (100%) rename templates/{lua-template-default => }/frameworks/runtime-src/proj.android/settings.gradle (100%) rename templates/{lua-template-default => }/frameworks/runtime-src/proj.ios_mac/ios/AppController.h (100%) rename templates/{lua-template-default => }/frameworks/runtime-src/proj.ios_mac/ios/AppController.mm (100%) rename templates/{lua-template-default => }/frameworks/runtime-src/proj.ios_mac/ios/Images.xcassets/AppIcon.appiconset/Contents.json (100%) rename templates/{lua-template-default => }/frameworks/runtime-src/proj.ios_mac/ios/Images.xcassets/AppIcon.appiconset/Icon-20.png (100%) rename templates/{lua-template-default => }/frameworks/runtime-src/proj.ios_mac/ios/Images.xcassets/AppIcon.appiconset/Icon-20@2x.png (100%) rename templates/{lua-template-default => }/frameworks/runtime-src/proj.ios_mac/ios/Images.xcassets/AppIcon.appiconset/Icon-20@3x.png (100%) rename templates/{lua-template-default => }/frameworks/runtime-src/proj.ios_mac/ios/Images.xcassets/AppIcon.appiconset/Icon-29.png (100%) rename templates/{lua-template-default => }/frameworks/runtime-src/proj.ios_mac/ios/Images.xcassets/AppIcon.appiconset/Icon-29@2x.png (100%) rename templates/{lua-template-default => }/frameworks/runtime-src/proj.ios_mac/ios/Images.xcassets/AppIcon.appiconset/Icon-29@3x.png (100%) rename templates/{lua-template-default => }/frameworks/runtime-src/proj.ios_mac/ios/Images.xcassets/AppIcon.appiconset/Icon-40.png (100%) rename templates/{lua-template-default => }/frameworks/runtime-src/proj.ios_mac/ios/Images.xcassets/AppIcon.appiconset/Icon-40@2x.png (100%) rename templates/{lua-template-default => }/frameworks/runtime-src/proj.ios_mac/ios/Images.xcassets/AppIcon.appiconset/Icon-40@3x.png (100%) rename templates/{lua-template-default => }/frameworks/runtime-src/proj.ios_mac/ios/Images.xcassets/AppIcon.appiconset/Icon-50.png (100%) rename templates/{lua-template-default => }/frameworks/runtime-src/proj.ios_mac/ios/Images.xcassets/AppIcon.appiconset/Icon-50@2x.png (100%) rename templates/{lua-template-default => }/frameworks/runtime-src/proj.ios_mac/ios/Images.xcassets/AppIcon.appiconset/Icon-57.png (100%) rename templates/{lua-template-default => }/frameworks/runtime-src/proj.ios_mac/ios/Images.xcassets/AppIcon.appiconset/Icon-57@2x.png (100%) rename templates/{lua-template-default => }/frameworks/runtime-src/proj.ios_mac/ios/Images.xcassets/AppIcon.appiconset/Icon-60@2x.png (100%) rename templates/{lua-template-default => }/frameworks/runtime-src/proj.ios_mac/ios/Images.xcassets/AppIcon.appiconset/Icon-60@3x.png (100%) rename templates/{lua-template-default => }/frameworks/runtime-src/proj.ios_mac/ios/Images.xcassets/AppIcon.appiconset/Icon-72.png (100%) rename templates/{lua-template-default => }/frameworks/runtime-src/proj.ios_mac/ios/Images.xcassets/AppIcon.appiconset/Icon-72@2x.png (100%) rename templates/{lua-template-default => }/frameworks/runtime-src/proj.ios_mac/ios/Images.xcassets/AppIcon.appiconset/Icon-76.png (100%) rename templates/{lua-template-default => }/frameworks/runtime-src/proj.ios_mac/ios/Images.xcassets/AppIcon.appiconset/Icon-76@2x.png (100%) rename templates/{lua-template-default => }/frameworks/runtime-src/proj.ios_mac/ios/Images.xcassets/AppIcon.appiconset/Icon-83.5@2x.png (100%) rename templates/{lua-template-default => }/frameworks/runtime-src/proj.ios_mac/ios/Images.xcassets/Contents.json (100%) rename templates/{lua-template-default => }/frameworks/runtime-src/proj.ios_mac/ios/Info.plist (100%) rename templates/{lua-template-default => }/frameworks/runtime-src/proj.ios_mac/ios/LaunchScreen.storyboard (100%) rename templates/{lua-template-default => }/frameworks/runtime-src/proj.ios_mac/ios/LaunchScreenBackground.png (100%) rename templates/{lua-template-default => }/frameworks/runtime-src/proj.ios_mac/ios/Prefix.pch (100%) rename templates/{lua-template-default => }/frameworks/runtime-src/proj.ios_mac/ios/RootViewController.h (100%) rename templates/{lua-template-default => }/frameworks/runtime-src/proj.ios_mac/ios/RootViewController.mm (100%) rename templates/{lua-template-default => }/frameworks/runtime-src/proj.ios_mac/ios/build-cfg.json (100%) rename templates/{lua-template-default => }/frameworks/runtime-src/proj.ios_mac/ios/exportoptions.plist (100%) rename templates/{lua-template-default => }/frameworks/runtime-src/proj.ios_mac/ios/main.m (100%) rename templates/{lua-template-default => }/frameworks/runtime-src/proj.ios_mac/mac/Icon.icns (100%) rename templates/{lua-template-default => }/frameworks/runtime-src/proj.ios_mac/mac/Info.plist (100%) rename templates/{lua-template-default => }/frameworks/runtime-src/proj.ios_mac/mac/Prefix.pch (100%) rename templates/{lua-template-default => }/frameworks/runtime-src/proj.ios_mac/mac/build-cfg.json (100%) rename templates/{lua-template-default => }/frameworks/runtime-src/proj.ios_mac/mac/main.cpp (100%) rename templates/{lua-template-default => }/frameworks/runtime-src/proj.linux/main.cpp (100%) rename templates/{lua-template-default => }/frameworks/runtime-src/proj.win32/build-cfg.json (100%) rename templates/{lua-template-default => }/frameworks/runtime-src/proj.win32/game.rc (100%) rename templates/{lua-template-default => }/frameworks/runtime-src/proj.win32/main.cpp (100%) rename templates/{lua-template-default => }/frameworks/runtime-src/proj.win32/main.h (100%) rename templates/{lua-template-default => }/frameworks/runtime-src/proj.win32/res/game.ico (100%) delete mode 100644 templates/lua-template-default/.project delete mode 100644 templates/lua-template-default/.settings/version.json rename templates/{lua-template-default => }/res/HelloWorld.png (100%) rename templates/{lua-template-default => }/src/app/MyApp.lua (100%) rename templates/{lua-template-default => }/src/app/views/MainScene.lua (100%) rename templates/{lua-template-default => }/src/config.lua (100%) rename templates/{lua-template-default => }/src/containers.lua (100%) rename templates/{lua-template-default => }/src/decoder.lua (100%) rename templates/{lua-template-default => }/src/descriptor.lua (100%) rename templates/{lua-template-default => }/src/encoder.lua (100%) rename templates/{lua-template-default => }/src/listener.lua (100%) rename templates/{lua-template-default => }/src/main.lua (100%) rename templates/{lua-template-default => }/src/packages/mvc/AppBase.lua (100%) rename templates/{lua-template-default => }/src/packages/mvc/ViewBase.lua (100%) rename templates/{lua-template-default => }/src/packages/mvc/init.lua (100%) rename templates/{lua-template-default => }/src/protobuf.lua (100%) rename templates/{lua-template-default => }/src/sproto.lua (100%) rename templates/{lua-template-default => }/src/sprotoparser.lua (100%) rename templates/{lua-template-default => }/src/text_format.lua (100%) rename templates/{lua-template-default => }/src/type_checkers.lua (100%) rename templates/{lua-template-default => }/src/wire_format.lua (100%) diff --git a/templates/lua-template-default/CMakeLists.txt b/templates/CMakeLists.txt similarity index 100% rename from templates/lua-template-default/CMakeLists.txt rename to templates/CMakeLists.txt diff --git a/templates/lua-template-default/config.json b/templates/config.json similarity index 100% rename from templates/lua-template-default/config.json rename to templates/config.json diff --git a/templates/lua-template-default/frameworks/runtime-src/Classes/AppDelegate.cpp b/templates/frameworks/runtime-src/Classes/AppDelegate.cpp similarity index 100% rename from templates/lua-template-default/frameworks/runtime-src/Classes/AppDelegate.cpp rename to templates/frameworks/runtime-src/Classes/AppDelegate.cpp diff --git a/templates/lua-template-default/frameworks/runtime-src/Classes/AppDelegate.h b/templates/frameworks/runtime-src/Classes/AppDelegate.h similarity index 100% rename from templates/lua-template-default/frameworks/runtime-src/Classes/AppDelegate.h rename to templates/frameworks/runtime-src/Classes/AppDelegate.h diff --git a/templates/lua-template-default/frameworks/runtime-src/proj.android/.gitignore b/templates/frameworks/runtime-src/proj.android/.gitignore similarity index 100% rename from templates/lua-template-default/frameworks/runtime-src/proj.android/.gitignore rename to templates/frameworks/runtime-src/proj.android/.gitignore diff --git a/templates/lua-template-default/frameworks/runtime-src/proj.android/app/.gitignore b/templates/frameworks/runtime-src/proj.android/app/.gitignore similarity index 100% rename from templates/lua-template-default/frameworks/runtime-src/proj.android/app/.gitignore rename to templates/frameworks/runtime-src/proj.android/app/.gitignore diff --git a/templates/lua-template-default/frameworks/runtime-src/proj.android/app/AndroidManifest.xml b/templates/frameworks/runtime-src/proj.android/app/AndroidManifest.xml similarity index 100% rename from templates/lua-template-default/frameworks/runtime-src/proj.android/app/AndroidManifest.xml rename to templates/frameworks/runtime-src/proj.android/app/AndroidManifest.xml diff --git a/templates/lua-template-default/frameworks/runtime-src/proj.android/app/build.gradle b/templates/frameworks/runtime-src/proj.android/app/build.gradle similarity index 100% rename from templates/lua-template-default/frameworks/runtime-src/proj.android/app/build.gradle rename to templates/frameworks/runtime-src/proj.android/app/build.gradle diff --git a/templates/lua-template-default/frameworks/runtime-src/proj.android/app/get_environment.sh b/templates/frameworks/runtime-src/proj.android/app/get_environment.sh similarity index 100% rename from templates/lua-template-default/frameworks/runtime-src/proj.android/app/get_environment.sh rename to templates/frameworks/runtime-src/proj.android/app/get_environment.sh diff --git a/templates/lua-template-default/frameworks/runtime-src/proj.android/app/jni/hellolua/main.cpp b/templates/frameworks/runtime-src/proj.android/app/jni/hellolua/main.cpp similarity index 100% rename from templates/lua-template-default/frameworks/runtime-src/proj.android/app/jni/hellolua/main.cpp rename to templates/frameworks/runtime-src/proj.android/app/jni/hellolua/main.cpp diff --git a/templates/lua-template-default/frameworks/runtime-src/proj.android/app/proguard-rules.pro b/templates/frameworks/runtime-src/proj.android/app/proguard-rules.pro similarity index 100% rename from templates/lua-template-default/frameworks/runtime-src/proj.android/app/proguard-rules.pro rename to templates/frameworks/runtime-src/proj.android/app/proguard-rules.pro diff --git a/templates/lua-template-default/frameworks/runtime-src/proj.android/app/res/mipmap-hdpi/ic_launcher.png b/templates/frameworks/runtime-src/proj.android/app/res/mipmap-hdpi/ic_launcher.png similarity index 100% rename from templates/lua-template-default/frameworks/runtime-src/proj.android/app/res/mipmap-hdpi/ic_launcher.png rename to templates/frameworks/runtime-src/proj.android/app/res/mipmap-hdpi/ic_launcher.png diff --git a/templates/lua-template-default/frameworks/runtime-src/proj.android/app/res/mipmap-mdpi/ic_launcher.png b/templates/frameworks/runtime-src/proj.android/app/res/mipmap-mdpi/ic_launcher.png similarity index 100% rename from templates/lua-template-default/frameworks/runtime-src/proj.android/app/res/mipmap-mdpi/ic_launcher.png rename to templates/frameworks/runtime-src/proj.android/app/res/mipmap-mdpi/ic_launcher.png diff --git a/templates/lua-template-default/frameworks/runtime-src/proj.android/app/res/mipmap-xhdpi/ic_launcher.png b/templates/frameworks/runtime-src/proj.android/app/res/mipmap-xhdpi/ic_launcher.png similarity index 100% rename from templates/lua-template-default/frameworks/runtime-src/proj.android/app/res/mipmap-xhdpi/ic_launcher.png rename to templates/frameworks/runtime-src/proj.android/app/res/mipmap-xhdpi/ic_launcher.png diff --git a/templates/lua-template-default/frameworks/runtime-src/proj.android/app/res/mipmap-xxhdpi/ic_launcher.png b/templates/frameworks/runtime-src/proj.android/app/res/mipmap-xxhdpi/ic_launcher.png similarity index 100% rename from templates/lua-template-default/frameworks/runtime-src/proj.android/app/res/mipmap-xxhdpi/ic_launcher.png rename to templates/frameworks/runtime-src/proj.android/app/res/mipmap-xxhdpi/ic_launcher.png diff --git a/templates/lua-template-default/frameworks/runtime-src/proj.android/app/res/values/strings.xml b/templates/frameworks/runtime-src/proj.android/app/res/values/strings.xml similarity index 100% rename from templates/lua-template-default/frameworks/runtime-src/proj.android/app/res/values/strings.xml rename to templates/frameworks/runtime-src/proj.android/app/res/values/strings.xml diff --git a/templates/lua-template-default/frameworks/runtime-src/proj.android/app/src/org/cocos2dx/lua/AppActivity.java b/templates/frameworks/runtime-src/proj.android/app/src/org/cocos2dx/lua/AppActivity.java similarity index 100% rename from templates/lua-template-default/frameworks/runtime-src/proj.android/app/src/org/cocos2dx/lua/AppActivity.java rename to templates/frameworks/runtime-src/proj.android/app/src/org/cocos2dx/lua/AppActivity.java diff --git a/templates/lua-template-default/frameworks/runtime-src/proj.android/build.gradle b/templates/frameworks/runtime-src/proj.android/build.gradle similarity index 100% rename from templates/lua-template-default/frameworks/runtime-src/proj.android/build.gradle rename to templates/frameworks/runtime-src/proj.android/build.gradle diff --git a/templates/lua-template-default/frameworks/runtime-src/proj.android/gradle.properties b/templates/frameworks/runtime-src/proj.android/gradle.properties similarity index 100% rename from templates/lua-template-default/frameworks/runtime-src/proj.android/gradle.properties rename to templates/frameworks/runtime-src/proj.android/gradle.properties diff --git a/templates/lua-template-default/frameworks/runtime-src/proj.android/gradle/wrapper/gradle-wrapper.jar b/templates/frameworks/runtime-src/proj.android/gradle/wrapper/gradle-wrapper.jar similarity index 100% rename from templates/lua-template-default/frameworks/runtime-src/proj.android/gradle/wrapper/gradle-wrapper.jar rename to templates/frameworks/runtime-src/proj.android/gradle/wrapper/gradle-wrapper.jar diff --git a/templates/lua-template-default/frameworks/runtime-src/proj.android/gradle/wrapper/gradle-wrapper.properties b/templates/frameworks/runtime-src/proj.android/gradle/wrapper/gradle-wrapper.properties similarity index 100% rename from templates/lua-template-default/frameworks/runtime-src/proj.android/gradle/wrapper/gradle-wrapper.properties rename to templates/frameworks/runtime-src/proj.android/gradle/wrapper/gradle-wrapper.properties diff --git a/templates/lua-template-default/frameworks/runtime-src/proj.android/gradlew b/templates/frameworks/runtime-src/proj.android/gradlew similarity index 100% rename from templates/lua-template-default/frameworks/runtime-src/proj.android/gradlew rename to templates/frameworks/runtime-src/proj.android/gradlew diff --git a/templates/lua-template-default/frameworks/runtime-src/proj.android/gradlew.bat b/templates/frameworks/runtime-src/proj.android/gradlew.bat similarity index 100% rename from templates/lua-template-default/frameworks/runtime-src/proj.android/gradlew.bat rename to templates/frameworks/runtime-src/proj.android/gradlew.bat diff --git a/templates/lua-template-default/frameworks/runtime-src/proj.android/settings.gradle b/templates/frameworks/runtime-src/proj.android/settings.gradle similarity index 100% rename from templates/lua-template-default/frameworks/runtime-src/proj.android/settings.gradle rename to templates/frameworks/runtime-src/proj.android/settings.gradle diff --git a/templates/lua-template-default/frameworks/runtime-src/proj.ios_mac/ios/AppController.h b/templates/frameworks/runtime-src/proj.ios_mac/ios/AppController.h similarity index 100% rename from templates/lua-template-default/frameworks/runtime-src/proj.ios_mac/ios/AppController.h rename to templates/frameworks/runtime-src/proj.ios_mac/ios/AppController.h diff --git a/templates/lua-template-default/frameworks/runtime-src/proj.ios_mac/ios/AppController.mm b/templates/frameworks/runtime-src/proj.ios_mac/ios/AppController.mm similarity index 100% rename from templates/lua-template-default/frameworks/runtime-src/proj.ios_mac/ios/AppController.mm rename to templates/frameworks/runtime-src/proj.ios_mac/ios/AppController.mm diff --git a/templates/lua-template-default/frameworks/runtime-src/proj.ios_mac/ios/Images.xcassets/AppIcon.appiconset/Contents.json b/templates/frameworks/runtime-src/proj.ios_mac/ios/Images.xcassets/AppIcon.appiconset/Contents.json similarity index 100% rename from templates/lua-template-default/frameworks/runtime-src/proj.ios_mac/ios/Images.xcassets/AppIcon.appiconset/Contents.json rename to templates/frameworks/runtime-src/proj.ios_mac/ios/Images.xcassets/AppIcon.appiconset/Contents.json diff --git a/templates/lua-template-default/frameworks/runtime-src/proj.ios_mac/ios/Images.xcassets/AppIcon.appiconset/Icon-20.png b/templates/frameworks/runtime-src/proj.ios_mac/ios/Images.xcassets/AppIcon.appiconset/Icon-20.png similarity index 100% rename from templates/lua-template-default/frameworks/runtime-src/proj.ios_mac/ios/Images.xcassets/AppIcon.appiconset/Icon-20.png rename to templates/frameworks/runtime-src/proj.ios_mac/ios/Images.xcassets/AppIcon.appiconset/Icon-20.png diff --git a/templates/lua-template-default/frameworks/runtime-src/proj.ios_mac/ios/Images.xcassets/AppIcon.appiconset/Icon-20@2x.png b/templates/frameworks/runtime-src/proj.ios_mac/ios/Images.xcassets/AppIcon.appiconset/Icon-20@2x.png similarity index 100% rename from templates/lua-template-default/frameworks/runtime-src/proj.ios_mac/ios/Images.xcassets/AppIcon.appiconset/Icon-20@2x.png rename to templates/frameworks/runtime-src/proj.ios_mac/ios/Images.xcassets/AppIcon.appiconset/Icon-20@2x.png diff --git a/templates/lua-template-default/frameworks/runtime-src/proj.ios_mac/ios/Images.xcassets/AppIcon.appiconset/Icon-20@3x.png b/templates/frameworks/runtime-src/proj.ios_mac/ios/Images.xcassets/AppIcon.appiconset/Icon-20@3x.png similarity index 100% rename from templates/lua-template-default/frameworks/runtime-src/proj.ios_mac/ios/Images.xcassets/AppIcon.appiconset/Icon-20@3x.png rename to templates/frameworks/runtime-src/proj.ios_mac/ios/Images.xcassets/AppIcon.appiconset/Icon-20@3x.png diff --git a/templates/lua-template-default/frameworks/runtime-src/proj.ios_mac/ios/Images.xcassets/AppIcon.appiconset/Icon-29.png b/templates/frameworks/runtime-src/proj.ios_mac/ios/Images.xcassets/AppIcon.appiconset/Icon-29.png similarity index 100% rename from templates/lua-template-default/frameworks/runtime-src/proj.ios_mac/ios/Images.xcassets/AppIcon.appiconset/Icon-29.png rename to templates/frameworks/runtime-src/proj.ios_mac/ios/Images.xcassets/AppIcon.appiconset/Icon-29.png diff --git a/templates/lua-template-default/frameworks/runtime-src/proj.ios_mac/ios/Images.xcassets/AppIcon.appiconset/Icon-29@2x.png b/templates/frameworks/runtime-src/proj.ios_mac/ios/Images.xcassets/AppIcon.appiconset/Icon-29@2x.png similarity index 100% rename from templates/lua-template-default/frameworks/runtime-src/proj.ios_mac/ios/Images.xcassets/AppIcon.appiconset/Icon-29@2x.png rename to templates/frameworks/runtime-src/proj.ios_mac/ios/Images.xcassets/AppIcon.appiconset/Icon-29@2x.png diff --git a/templates/lua-template-default/frameworks/runtime-src/proj.ios_mac/ios/Images.xcassets/AppIcon.appiconset/Icon-29@3x.png b/templates/frameworks/runtime-src/proj.ios_mac/ios/Images.xcassets/AppIcon.appiconset/Icon-29@3x.png similarity index 100% rename from templates/lua-template-default/frameworks/runtime-src/proj.ios_mac/ios/Images.xcassets/AppIcon.appiconset/Icon-29@3x.png rename to templates/frameworks/runtime-src/proj.ios_mac/ios/Images.xcassets/AppIcon.appiconset/Icon-29@3x.png diff --git a/templates/lua-template-default/frameworks/runtime-src/proj.ios_mac/ios/Images.xcassets/AppIcon.appiconset/Icon-40.png b/templates/frameworks/runtime-src/proj.ios_mac/ios/Images.xcassets/AppIcon.appiconset/Icon-40.png similarity index 100% rename from templates/lua-template-default/frameworks/runtime-src/proj.ios_mac/ios/Images.xcassets/AppIcon.appiconset/Icon-40.png rename to templates/frameworks/runtime-src/proj.ios_mac/ios/Images.xcassets/AppIcon.appiconset/Icon-40.png diff --git a/templates/lua-template-default/frameworks/runtime-src/proj.ios_mac/ios/Images.xcassets/AppIcon.appiconset/Icon-40@2x.png b/templates/frameworks/runtime-src/proj.ios_mac/ios/Images.xcassets/AppIcon.appiconset/Icon-40@2x.png similarity index 100% rename from templates/lua-template-default/frameworks/runtime-src/proj.ios_mac/ios/Images.xcassets/AppIcon.appiconset/Icon-40@2x.png rename to templates/frameworks/runtime-src/proj.ios_mac/ios/Images.xcassets/AppIcon.appiconset/Icon-40@2x.png diff --git a/templates/lua-template-default/frameworks/runtime-src/proj.ios_mac/ios/Images.xcassets/AppIcon.appiconset/Icon-40@3x.png b/templates/frameworks/runtime-src/proj.ios_mac/ios/Images.xcassets/AppIcon.appiconset/Icon-40@3x.png similarity index 100% rename from templates/lua-template-default/frameworks/runtime-src/proj.ios_mac/ios/Images.xcassets/AppIcon.appiconset/Icon-40@3x.png rename to templates/frameworks/runtime-src/proj.ios_mac/ios/Images.xcassets/AppIcon.appiconset/Icon-40@3x.png diff --git a/templates/lua-template-default/frameworks/runtime-src/proj.ios_mac/ios/Images.xcassets/AppIcon.appiconset/Icon-50.png b/templates/frameworks/runtime-src/proj.ios_mac/ios/Images.xcassets/AppIcon.appiconset/Icon-50.png similarity index 100% rename from templates/lua-template-default/frameworks/runtime-src/proj.ios_mac/ios/Images.xcassets/AppIcon.appiconset/Icon-50.png rename to templates/frameworks/runtime-src/proj.ios_mac/ios/Images.xcassets/AppIcon.appiconset/Icon-50.png diff --git a/templates/lua-template-default/frameworks/runtime-src/proj.ios_mac/ios/Images.xcassets/AppIcon.appiconset/Icon-50@2x.png b/templates/frameworks/runtime-src/proj.ios_mac/ios/Images.xcassets/AppIcon.appiconset/Icon-50@2x.png similarity index 100% rename from templates/lua-template-default/frameworks/runtime-src/proj.ios_mac/ios/Images.xcassets/AppIcon.appiconset/Icon-50@2x.png rename to templates/frameworks/runtime-src/proj.ios_mac/ios/Images.xcassets/AppIcon.appiconset/Icon-50@2x.png diff --git a/templates/lua-template-default/frameworks/runtime-src/proj.ios_mac/ios/Images.xcassets/AppIcon.appiconset/Icon-57.png b/templates/frameworks/runtime-src/proj.ios_mac/ios/Images.xcassets/AppIcon.appiconset/Icon-57.png similarity index 100% rename from templates/lua-template-default/frameworks/runtime-src/proj.ios_mac/ios/Images.xcassets/AppIcon.appiconset/Icon-57.png rename to templates/frameworks/runtime-src/proj.ios_mac/ios/Images.xcassets/AppIcon.appiconset/Icon-57.png diff --git a/templates/lua-template-default/frameworks/runtime-src/proj.ios_mac/ios/Images.xcassets/AppIcon.appiconset/Icon-57@2x.png b/templates/frameworks/runtime-src/proj.ios_mac/ios/Images.xcassets/AppIcon.appiconset/Icon-57@2x.png similarity index 100% rename from templates/lua-template-default/frameworks/runtime-src/proj.ios_mac/ios/Images.xcassets/AppIcon.appiconset/Icon-57@2x.png rename to templates/frameworks/runtime-src/proj.ios_mac/ios/Images.xcassets/AppIcon.appiconset/Icon-57@2x.png diff --git a/templates/lua-template-default/frameworks/runtime-src/proj.ios_mac/ios/Images.xcassets/AppIcon.appiconset/Icon-60@2x.png b/templates/frameworks/runtime-src/proj.ios_mac/ios/Images.xcassets/AppIcon.appiconset/Icon-60@2x.png similarity index 100% rename from templates/lua-template-default/frameworks/runtime-src/proj.ios_mac/ios/Images.xcassets/AppIcon.appiconset/Icon-60@2x.png rename to templates/frameworks/runtime-src/proj.ios_mac/ios/Images.xcassets/AppIcon.appiconset/Icon-60@2x.png diff --git a/templates/lua-template-default/frameworks/runtime-src/proj.ios_mac/ios/Images.xcassets/AppIcon.appiconset/Icon-60@3x.png b/templates/frameworks/runtime-src/proj.ios_mac/ios/Images.xcassets/AppIcon.appiconset/Icon-60@3x.png similarity index 100% rename from templates/lua-template-default/frameworks/runtime-src/proj.ios_mac/ios/Images.xcassets/AppIcon.appiconset/Icon-60@3x.png rename to templates/frameworks/runtime-src/proj.ios_mac/ios/Images.xcassets/AppIcon.appiconset/Icon-60@3x.png diff --git a/templates/lua-template-default/frameworks/runtime-src/proj.ios_mac/ios/Images.xcassets/AppIcon.appiconset/Icon-72.png b/templates/frameworks/runtime-src/proj.ios_mac/ios/Images.xcassets/AppIcon.appiconset/Icon-72.png similarity index 100% rename from templates/lua-template-default/frameworks/runtime-src/proj.ios_mac/ios/Images.xcassets/AppIcon.appiconset/Icon-72.png rename to templates/frameworks/runtime-src/proj.ios_mac/ios/Images.xcassets/AppIcon.appiconset/Icon-72.png diff --git a/templates/lua-template-default/frameworks/runtime-src/proj.ios_mac/ios/Images.xcassets/AppIcon.appiconset/Icon-72@2x.png b/templates/frameworks/runtime-src/proj.ios_mac/ios/Images.xcassets/AppIcon.appiconset/Icon-72@2x.png similarity index 100% rename from templates/lua-template-default/frameworks/runtime-src/proj.ios_mac/ios/Images.xcassets/AppIcon.appiconset/Icon-72@2x.png rename to templates/frameworks/runtime-src/proj.ios_mac/ios/Images.xcassets/AppIcon.appiconset/Icon-72@2x.png diff --git a/templates/lua-template-default/frameworks/runtime-src/proj.ios_mac/ios/Images.xcassets/AppIcon.appiconset/Icon-76.png b/templates/frameworks/runtime-src/proj.ios_mac/ios/Images.xcassets/AppIcon.appiconset/Icon-76.png similarity index 100% rename from templates/lua-template-default/frameworks/runtime-src/proj.ios_mac/ios/Images.xcassets/AppIcon.appiconset/Icon-76.png rename to templates/frameworks/runtime-src/proj.ios_mac/ios/Images.xcassets/AppIcon.appiconset/Icon-76.png diff --git a/templates/lua-template-default/frameworks/runtime-src/proj.ios_mac/ios/Images.xcassets/AppIcon.appiconset/Icon-76@2x.png b/templates/frameworks/runtime-src/proj.ios_mac/ios/Images.xcassets/AppIcon.appiconset/Icon-76@2x.png similarity index 100% rename from templates/lua-template-default/frameworks/runtime-src/proj.ios_mac/ios/Images.xcassets/AppIcon.appiconset/Icon-76@2x.png rename to templates/frameworks/runtime-src/proj.ios_mac/ios/Images.xcassets/AppIcon.appiconset/Icon-76@2x.png diff --git a/templates/lua-template-default/frameworks/runtime-src/proj.ios_mac/ios/Images.xcassets/AppIcon.appiconset/Icon-83.5@2x.png b/templates/frameworks/runtime-src/proj.ios_mac/ios/Images.xcassets/AppIcon.appiconset/Icon-83.5@2x.png similarity index 100% rename from templates/lua-template-default/frameworks/runtime-src/proj.ios_mac/ios/Images.xcassets/AppIcon.appiconset/Icon-83.5@2x.png rename to templates/frameworks/runtime-src/proj.ios_mac/ios/Images.xcassets/AppIcon.appiconset/Icon-83.5@2x.png diff --git a/templates/lua-template-default/frameworks/runtime-src/proj.ios_mac/ios/Images.xcassets/Contents.json b/templates/frameworks/runtime-src/proj.ios_mac/ios/Images.xcassets/Contents.json similarity index 100% rename from templates/lua-template-default/frameworks/runtime-src/proj.ios_mac/ios/Images.xcassets/Contents.json rename to templates/frameworks/runtime-src/proj.ios_mac/ios/Images.xcassets/Contents.json diff --git a/templates/lua-template-default/frameworks/runtime-src/proj.ios_mac/ios/Info.plist b/templates/frameworks/runtime-src/proj.ios_mac/ios/Info.plist similarity index 100% rename from templates/lua-template-default/frameworks/runtime-src/proj.ios_mac/ios/Info.plist rename to templates/frameworks/runtime-src/proj.ios_mac/ios/Info.plist diff --git a/templates/lua-template-default/frameworks/runtime-src/proj.ios_mac/ios/LaunchScreen.storyboard b/templates/frameworks/runtime-src/proj.ios_mac/ios/LaunchScreen.storyboard similarity index 100% rename from templates/lua-template-default/frameworks/runtime-src/proj.ios_mac/ios/LaunchScreen.storyboard rename to templates/frameworks/runtime-src/proj.ios_mac/ios/LaunchScreen.storyboard diff --git a/templates/lua-template-default/frameworks/runtime-src/proj.ios_mac/ios/LaunchScreenBackground.png b/templates/frameworks/runtime-src/proj.ios_mac/ios/LaunchScreenBackground.png similarity index 100% rename from templates/lua-template-default/frameworks/runtime-src/proj.ios_mac/ios/LaunchScreenBackground.png rename to templates/frameworks/runtime-src/proj.ios_mac/ios/LaunchScreenBackground.png diff --git a/templates/lua-template-default/frameworks/runtime-src/proj.ios_mac/ios/Prefix.pch b/templates/frameworks/runtime-src/proj.ios_mac/ios/Prefix.pch similarity index 100% rename from templates/lua-template-default/frameworks/runtime-src/proj.ios_mac/ios/Prefix.pch rename to templates/frameworks/runtime-src/proj.ios_mac/ios/Prefix.pch diff --git a/templates/lua-template-default/frameworks/runtime-src/proj.ios_mac/ios/RootViewController.h b/templates/frameworks/runtime-src/proj.ios_mac/ios/RootViewController.h similarity index 100% rename from templates/lua-template-default/frameworks/runtime-src/proj.ios_mac/ios/RootViewController.h rename to templates/frameworks/runtime-src/proj.ios_mac/ios/RootViewController.h diff --git a/templates/lua-template-default/frameworks/runtime-src/proj.ios_mac/ios/RootViewController.mm b/templates/frameworks/runtime-src/proj.ios_mac/ios/RootViewController.mm similarity index 100% rename from templates/lua-template-default/frameworks/runtime-src/proj.ios_mac/ios/RootViewController.mm rename to templates/frameworks/runtime-src/proj.ios_mac/ios/RootViewController.mm diff --git a/templates/lua-template-default/frameworks/runtime-src/proj.ios_mac/ios/build-cfg.json b/templates/frameworks/runtime-src/proj.ios_mac/ios/build-cfg.json similarity index 100% rename from templates/lua-template-default/frameworks/runtime-src/proj.ios_mac/ios/build-cfg.json rename to templates/frameworks/runtime-src/proj.ios_mac/ios/build-cfg.json diff --git a/templates/lua-template-default/frameworks/runtime-src/proj.ios_mac/ios/exportoptions.plist b/templates/frameworks/runtime-src/proj.ios_mac/ios/exportoptions.plist similarity index 100% rename from templates/lua-template-default/frameworks/runtime-src/proj.ios_mac/ios/exportoptions.plist rename to templates/frameworks/runtime-src/proj.ios_mac/ios/exportoptions.plist diff --git a/templates/lua-template-default/frameworks/runtime-src/proj.ios_mac/ios/main.m b/templates/frameworks/runtime-src/proj.ios_mac/ios/main.m similarity index 100% rename from templates/lua-template-default/frameworks/runtime-src/proj.ios_mac/ios/main.m rename to templates/frameworks/runtime-src/proj.ios_mac/ios/main.m diff --git a/templates/lua-template-default/frameworks/runtime-src/proj.ios_mac/mac/Icon.icns b/templates/frameworks/runtime-src/proj.ios_mac/mac/Icon.icns similarity index 100% rename from templates/lua-template-default/frameworks/runtime-src/proj.ios_mac/mac/Icon.icns rename to templates/frameworks/runtime-src/proj.ios_mac/mac/Icon.icns diff --git a/templates/lua-template-default/frameworks/runtime-src/proj.ios_mac/mac/Info.plist b/templates/frameworks/runtime-src/proj.ios_mac/mac/Info.plist similarity index 100% rename from templates/lua-template-default/frameworks/runtime-src/proj.ios_mac/mac/Info.plist rename to templates/frameworks/runtime-src/proj.ios_mac/mac/Info.plist diff --git a/templates/lua-template-default/frameworks/runtime-src/proj.ios_mac/mac/Prefix.pch b/templates/frameworks/runtime-src/proj.ios_mac/mac/Prefix.pch similarity index 100% rename from templates/lua-template-default/frameworks/runtime-src/proj.ios_mac/mac/Prefix.pch rename to templates/frameworks/runtime-src/proj.ios_mac/mac/Prefix.pch diff --git a/templates/lua-template-default/frameworks/runtime-src/proj.ios_mac/mac/build-cfg.json b/templates/frameworks/runtime-src/proj.ios_mac/mac/build-cfg.json similarity index 100% rename from templates/lua-template-default/frameworks/runtime-src/proj.ios_mac/mac/build-cfg.json rename to templates/frameworks/runtime-src/proj.ios_mac/mac/build-cfg.json diff --git a/templates/lua-template-default/frameworks/runtime-src/proj.ios_mac/mac/main.cpp b/templates/frameworks/runtime-src/proj.ios_mac/mac/main.cpp similarity index 100% rename from templates/lua-template-default/frameworks/runtime-src/proj.ios_mac/mac/main.cpp rename to templates/frameworks/runtime-src/proj.ios_mac/mac/main.cpp diff --git a/templates/lua-template-default/frameworks/runtime-src/proj.linux/main.cpp b/templates/frameworks/runtime-src/proj.linux/main.cpp similarity index 100% rename from templates/lua-template-default/frameworks/runtime-src/proj.linux/main.cpp rename to templates/frameworks/runtime-src/proj.linux/main.cpp diff --git a/templates/lua-template-default/frameworks/runtime-src/proj.win32/build-cfg.json b/templates/frameworks/runtime-src/proj.win32/build-cfg.json similarity index 100% rename from templates/lua-template-default/frameworks/runtime-src/proj.win32/build-cfg.json rename to templates/frameworks/runtime-src/proj.win32/build-cfg.json diff --git a/templates/lua-template-default/frameworks/runtime-src/proj.win32/game.rc b/templates/frameworks/runtime-src/proj.win32/game.rc similarity index 100% rename from templates/lua-template-default/frameworks/runtime-src/proj.win32/game.rc rename to templates/frameworks/runtime-src/proj.win32/game.rc diff --git a/templates/lua-template-default/frameworks/runtime-src/proj.win32/main.cpp b/templates/frameworks/runtime-src/proj.win32/main.cpp similarity index 100% rename from templates/lua-template-default/frameworks/runtime-src/proj.win32/main.cpp rename to templates/frameworks/runtime-src/proj.win32/main.cpp diff --git a/templates/lua-template-default/frameworks/runtime-src/proj.win32/main.h b/templates/frameworks/runtime-src/proj.win32/main.h similarity index 100% rename from templates/lua-template-default/frameworks/runtime-src/proj.win32/main.h rename to templates/frameworks/runtime-src/proj.win32/main.h diff --git a/templates/lua-template-default/frameworks/runtime-src/proj.win32/res/game.ico b/templates/frameworks/runtime-src/proj.win32/res/game.ico similarity index 100% rename from templates/lua-template-default/frameworks/runtime-src/proj.win32/res/game.ico rename to templates/frameworks/runtime-src/proj.win32/res/game.ico diff --git a/templates/lua-template-default/.project b/templates/lua-template-default/.project deleted file mode 100644 index 65d4c36..0000000 --- a/templates/lua-template-default/.project +++ /dev/null @@ -1,13 +0,0 @@ - - - __PROJECT_COCOS_NAME__ - - - - - - - org.ccdt.cocosproject - org.eclipse.koneki.ldt.nature - - diff --git a/templates/lua-template-default/.settings/version.json b/templates/lua-template-default/.settings/version.json deleted file mode 100644 index 69d3909..0000000 --- a/templates/lua-template-default/.settings/version.json +++ /dev/null @@ -1,4 +0,0 @@ -{ - "templateVersion":"2.0", - "runtimeVersion":"2.0" -} diff --git a/templates/lua-template-default/res/HelloWorld.png b/templates/res/HelloWorld.png similarity index 100% rename from templates/lua-template-default/res/HelloWorld.png rename to templates/res/HelloWorld.png diff --git a/templates/lua-template-default/src/app/MyApp.lua b/templates/src/app/MyApp.lua similarity index 100% rename from templates/lua-template-default/src/app/MyApp.lua rename to templates/src/app/MyApp.lua diff --git a/templates/lua-template-default/src/app/views/MainScene.lua b/templates/src/app/views/MainScene.lua similarity index 100% rename from templates/lua-template-default/src/app/views/MainScene.lua rename to templates/src/app/views/MainScene.lua diff --git a/templates/lua-template-default/src/config.lua b/templates/src/config.lua similarity index 100% rename from templates/lua-template-default/src/config.lua rename to templates/src/config.lua diff --git a/templates/lua-template-default/src/containers.lua b/templates/src/containers.lua similarity index 100% rename from templates/lua-template-default/src/containers.lua rename to templates/src/containers.lua diff --git a/templates/lua-template-default/src/decoder.lua b/templates/src/decoder.lua similarity index 100% rename from templates/lua-template-default/src/decoder.lua rename to templates/src/decoder.lua diff --git a/templates/lua-template-default/src/descriptor.lua b/templates/src/descriptor.lua similarity index 100% rename from templates/lua-template-default/src/descriptor.lua rename to templates/src/descriptor.lua diff --git a/templates/lua-template-default/src/encoder.lua b/templates/src/encoder.lua similarity index 100% rename from templates/lua-template-default/src/encoder.lua rename to templates/src/encoder.lua diff --git a/templates/lua-template-default/src/listener.lua b/templates/src/listener.lua similarity index 100% rename from templates/lua-template-default/src/listener.lua rename to templates/src/listener.lua diff --git a/templates/lua-template-default/src/main.lua b/templates/src/main.lua similarity index 100% rename from templates/lua-template-default/src/main.lua rename to templates/src/main.lua diff --git a/templates/lua-template-default/src/packages/mvc/AppBase.lua b/templates/src/packages/mvc/AppBase.lua similarity index 100% rename from templates/lua-template-default/src/packages/mvc/AppBase.lua rename to templates/src/packages/mvc/AppBase.lua diff --git a/templates/lua-template-default/src/packages/mvc/ViewBase.lua b/templates/src/packages/mvc/ViewBase.lua similarity index 100% rename from templates/lua-template-default/src/packages/mvc/ViewBase.lua rename to templates/src/packages/mvc/ViewBase.lua diff --git a/templates/lua-template-default/src/packages/mvc/init.lua b/templates/src/packages/mvc/init.lua similarity index 100% rename from templates/lua-template-default/src/packages/mvc/init.lua rename to templates/src/packages/mvc/init.lua diff --git a/templates/lua-template-default/src/protobuf.lua b/templates/src/protobuf.lua similarity index 100% rename from templates/lua-template-default/src/protobuf.lua rename to templates/src/protobuf.lua diff --git a/templates/lua-template-default/src/sproto.lua b/templates/src/sproto.lua similarity index 100% rename from templates/lua-template-default/src/sproto.lua rename to templates/src/sproto.lua diff --git a/templates/lua-template-default/src/sprotoparser.lua b/templates/src/sprotoparser.lua similarity index 100% rename from templates/lua-template-default/src/sprotoparser.lua rename to templates/src/sprotoparser.lua diff --git a/templates/lua-template-default/src/text_format.lua b/templates/src/text_format.lua similarity index 100% rename from templates/lua-template-default/src/text_format.lua rename to templates/src/text_format.lua diff --git a/templates/lua-template-default/src/type_checkers.lua b/templates/src/type_checkers.lua similarity index 100% rename from templates/lua-template-default/src/type_checkers.lua rename to templates/src/type_checkers.lua diff --git a/templates/lua-template-default/src/wire_format.lua b/templates/src/wire_format.lua similarity index 100% rename from templates/lua-template-default/src/wire_format.lua rename to templates/src/wire_format.lua diff --git a/tools/CreateProject.py b/tools/CreateProject.py index 2b54c5b..1dcc17e 100755 --- a/tools/CreateProject.py +++ b/tools/CreateProject.py @@ -126,7 +126,7 @@ def createProject(packageName, outputDir, isLandscape, needCopyCocos2d): lastName = names[2] initDict(names, isLandscape) - templateRoot = joinDir(engineRoot, "templates", "lua-template-default") + templateRoot = joinDir(engineRoot, "templates") outputDir = joinDir(outputDir, lastName) print("====> Copying template.")