mirror of https://github.com/axmolengine/axmol.git
Some fixes for android-build.py.
This commit is contained in:
parent
a7fea5bdb7
commit
b893ca3378
|
@ -224,7 +224,7 @@ if __name__ == '__main__':
|
||||||
usage = """
|
usage = """
|
||||||
This script is mainy used for building tests built-in with cocos2d-x.
|
This script is mainy used for building tests built-in with cocos2d-x.
|
||||||
|
|
||||||
Usage: %prog [options] [cpp-empty-test|cpp-tests|lua-empty-test|lua-tests]
|
Usage: %prog [options] [cpp-empty-test|cpp-tests|lua-empty-test|lua-tests|cpp|lua|all]
|
||||||
|
|
||||||
If you are new to cocos2d-x, I recommend you start with cpp-empty-test, lua-empty-test.
|
If you are new to cocos2d-x, I recommend you start with cpp-empty-test, lua-empty-test.
|
||||||
|
|
||||||
|
@ -247,6 +247,7 @@ if __name__ == '__main__':
|
||||||
|
|
||||||
if len(args) == 0:
|
if len(args) == 0:
|
||||||
parser.print_help()
|
parser.print_help()
|
||||||
|
sys.exit(1)
|
||||||
else:
|
else:
|
||||||
try:
|
try:
|
||||||
build_samples(args, opts.ndk_build_param,opts.android_platform,opts.build_mode)
|
build_samples(args, opts.ndk_build_param,opts.android_platform,opts.build_mode)
|
||||||
|
|
Loading…
Reference in New Issue