Skip to content

Commit

Permalink
[v4] disable lua compile
Browse files Browse the repository at this point in the history
do not compile lua scripts on linux
  • Loading branch information
PatriceJiang committed Sep 25, 2019
1 parent 7df5348 commit 21dc0fe
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions plugins/plugin_compile/project_compile.py
Original file line number Diff line number Diff line change
Expand Up @@ -930,9 +930,11 @@ def build(self, platform):
if platform == 'mac' or platform == 'ios':
script_resource_path = os.path.join(self.app_path, 'Contents/Resources/src')

self.compile_script(script_resource_path, platform)

cocos.Logging.info(MultiLanguage.get_string('COMPILE_INFO_BUILD_SUCCEED'))
if platform != 'linux' :
self.compile_script(script_resource_path, platform)
cocos.Logging.info(MultiLanguage.get_string('COMPILE_INFO_BUILD_SUCCEED'))
else:
cocos.Logging.warning(MultiLanguage.get_string('COMPILE_WARNING_NOT_SUPPORT_COMPILE_SCRIPT'))

def _get_build_cfg(self):
build_cfg_dir = self._build_cfg_path()
Expand Down

0 comments on commit 21dc0fe

Please sign in to comment.