mirror of
https://github.com/libsdl-org/SDL.git
synced 2025-10-03 16:36:25 +00:00
release: small release script clean-up
This commit is contained in:

committed by
Anonymous Maarten

parent
e528d5bd9f
commit
d13f66ab7d
@@ -1517,7 +1517,7 @@ def main(argv=None) -> int:
|
|||||||
if args.android_home is None or not Path(args.android_home).is_dir():
|
if args.android_home is None or not Path(args.android_home).is_dir():
|
||||||
parser.error("Invalid $ANDROID_HOME or --android-home: must be a directory containing the Android SDK")
|
parser.error("Invalid $ANDROID_HOME or --android-home: must be a directory containing the Android SDK")
|
||||||
if args.android_ndk_home is None or not Path(args.android_ndk_home).is_dir():
|
if args.android_ndk_home is None or not Path(args.android_ndk_home).is_dir():
|
||||||
parser.error("Invalid $ANDROID_NDK_HOME or --android_ndk_home: must be a directory containing the Android NDK")
|
parser.error("Invalid $ANDROID_NDK_HOME or --android-ndk-home: must be a directory containing the Android NDK")
|
||||||
if args.android_api is None:
|
if args.android_api is None:
|
||||||
with section_printer.group("Detect Android APIS"):
|
with section_printer.group("Detect Android APIS"):
|
||||||
args.android_api = releaser._detect_android_api(android_home=args.android_home)
|
args.android_api = releaser._detect_android_api(android_home=args.android_home)
|
||||||
|
@@ -26,7 +26,6 @@ import zipfile
|
|||||||
|
|
||||||
|
|
||||||
AAR_PATH = pathlib.Path(__file__).resolve().parent
|
AAR_PATH = pathlib.Path(__file__).resolve().parent
|
||||||
ANDROID_ARCHS = { "armeabi-v7a", "arm64-v8a", "x86", "x86_64" }
|
|
||||||
|
|
||||||
|
|
||||||
def main():
|
def main():
|
||||||
|
Reference in New Issue
Block a user