Add an option to clobber after every run

Signed-off-by: Tad <tad@spotco.us>
This commit is contained in:
Tad 2022-01-24 18:01:21 -05:00
parent 58b53de17a
commit 51003bff5a
3 changed files with 4 additions and 2 deletions

View file

@ -37,7 +37,6 @@ scanWorkspaceForMalware() {
export -f scanWorkspaceForMalware;
buildDevice() {
pkill java && sleep 10; #XXX: ugly hack
cd "$DOS_BUILD_BASE";
export OTA_KEY_OVERRIDE_DIR="$DOS_SIGNING_KEYS/$1";
breakfast "lineage_$1-user" && mka target-files-package otatools && processRelease $1 true $2;
@ -45,7 +44,6 @@ buildDevice() {
export -f buildDevice;
buildDeviceUserDebug() {
pkill java && sleep 10; #XXX: ugly hack
cd "$DOS_BUILD_BASE";
export OTA_KEY_OVERRIDE_DIR="$DOS_SIGNING_KEYS/$1";
breakfast "lineage_$1-userdebug" && mka target-files-package otatools && processRelease $1 true $2;