mirror of
https://github.com/j-hc/revanced-magisk-module.git
synced 2025-05-09 02:54:30 +02:00
add clean subcmd
This commit is contained in:
parent
0da51c99eb
commit
9eb353a50a
6
build.sh
6
build.sh
@ -1,9 +1,13 @@
|
|||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
set -euo pipefail
|
set -euo pipefail
|
||||||
|
trap "rm -rf temp/tmp.*; exit 1" INT
|
||||||
|
|
||||||
|
if [ "${1:-}" = "clean" ]; then
|
||||||
|
rm -rf temp build logs
|
||||||
|
fi
|
||||||
|
|
||||||
source utils.sh
|
source utils.sh
|
||||||
trap "rm -rf temp/tmp.*; exit 1" INT
|
|
||||||
|
|
||||||
: >build.md
|
: >build.md
|
||||||
|
|
||||||
|
@ -1,9 +1,10 @@
|
|||||||
# see https://github.com/j-hc/revanced-magisk-module/blob/main/CONFIG.md for more detailed explanations
|
# 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
|
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
|
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
|
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
|
parallel-jobs = 1 # max number of concurrent building jobs
|
||||||
build-mindetach-module = true
|
build-mindetach-module = true
|
||||||
|
|
||||||
# extended
|
# extended
|
||||||
patches-source = "inotia00/revanced-patches"
|
patches-source = "inotia00/revanced-patches"
|
||||||
integrations-source = "inotia00/revanced-integrations"
|
integrations-source = "inotia00/revanced-integrations"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user