add clean subcmd

This commit is contained in:
j-hc 2023-03-03 22:05:29 +03:00
parent 0da51c99eb
commit 9eb353a50a
No known key found for this signature in database
GPG Key ID: FCBF5E9C57092AD9
2 changed files with 10 additions and 5 deletions

View File

@ -1,9 +1,13 @@
#!/usr/bin/env bash
set -euo pipefail
trap "rm -rf temp/tmp.*; exit 1" INT
if [ "${1:-}" = "clean" ]; then
rm -rf temp build logs
fi
source utils.sh
trap "rm -rf temp/tmp.*; exit 1" INT
: >build.md

View File

@ -1,9 +1,10 @@
# see https://github.com/j-hc/revanced-magisk-module/blob/main/CONFIG.md for more detailed explanations
compression-level = 9 # compression level for module zips. between 1 and 9
logging-to-file = true # enables logging of every patch process to a seperate file
enable-magisk-update = true # set this to false if you do not want to receive updates for the module in magisk app
parallel-jobs = 3 # max number of concurrent building jobs
compression-level = 9 # compression level for module zips. between 1 and 9
logging-to-file = true # enables logging of every patch process to a seperate file
enable-magisk-update = true # set this to false if you do not want to receive updates for the module in magisk app
parallel-jobs = 1 # max number of concurrent building jobs
build-mindetach-module = true
# extended
patches-source = "inotia00/revanced-patches"
integrations-source = "inotia00/revanced-integrations"