From 9a7a26407aab0bd95acf176a78b2dc4d5130347e Mon Sep 17 00:00:00 2001 From: topjohnwu Date: Tue, 12 Mar 2019 17:01:37 -0400 Subject: [PATCH] Update build script --- build.py | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/build.py b/build.py index 906778556..836160aa2 100755 --- a/build.py +++ b/build.py @@ -250,7 +250,7 @@ def build_apk(args, module): def build_app(args): - header('Building Magisk Manager') + header('* Building Magisk Manager') source = os.path.join('scripts', 'util_functions.sh') target = os.path.join('app', 'src', 'main', 'res', 'raw', 'util_functions.sh') @@ -259,7 +259,7 @@ def build_app(args): def build_stub(args): - header('Building Magisk Manager stub') + header('* Building Magisk Manager stub') stub = build_apk(args, 'stub') # Dump the stub APK to header mkdir(os.path.join('native', 'out')) @@ -269,7 +269,7 @@ def build_stub(args): def build_snet(args): - header('Building snet extension') + header('* Building snet extension') proc = execv([gradlew, 'snet:assembleRelease']) if proc.returncode != 0: error('Build snet extention failed!') @@ -409,8 +409,7 @@ def cleanup(args): if 'java' in args.target: header('* Cleaning java') - execv([gradlew, 'app:clean', 'app-core:clean', - 'snet:clean', 'signing:clean']) + execv([gradlew, 'clean']) def build_all(args):