2
0
mirror of https://gitlab.com/Nanolx/NanoDroid synced 2024-10-31 09:20:23 +00:00

build-package: create SysTest package

This commit is contained in:
Christopher Roy Bratusek 2018-11-20 18:25:52 +01:00
parent 57c8ebfdc2
commit 3f3e0b1985
2 changed files with 25 additions and 0 deletions

View File

@ -56,6 +56,10 @@ for opt in ${@}; do
mk_pkg_bromite_webview mk_pkg_bromite_webview
;; ;;
systest )
mk_pkg_systest
;;
all ) all )
check_nanodroid || error "run nanodroid-pull first!" check_nanodroid || error "run nanodroid-pull first!"
mk_pkg_full mk_pkg_full
@ -65,6 +69,7 @@ for opt in ${@}; do
mk_pkg_uninstaller mk_pkg_uninstaller
mk_pkg_setupwizard mk_pkg_setupwizard
mk_pkg_bromite_webview mk_pkg_bromite_webview
mk_pkg_systest
;; ;;
ver ) ver )

View File

@ -64,3 +64,23 @@ mk_pkg_uninstaller () {
create_uninstaller_package & create_uninstaller_package &
progress $! progress $!
} }
create_systest_package() {
ZIP="${CWD}/NanoDroid-systest-${VERSION}".zip
rm -f "${ZIP}"*
print_package "SysTest"
cd "${CWD}/systest"
zip_add
cd "${CWD}"
zip_add_doc
sum_sign_package "${ZIP}"
}
mk_pkg_systest () {
create_systest_package &
progress $!
}