Files
fdroidclient/tools/update-verification-metadata.sh
Torsten Grote decc2cc6e3 Add ktlint and run it in CI
Fixes formatting issues it found.

Also remove version variables from gradle scripts as they are not wanted by the project.
2022-02-16 09:43:19 -03:00

18 lines
434 B
Bash
Executable File

#!/bin/sh -ex
TOOLS_DIR=$(cd "$(dirname "$0")"; pwd)
cd "$TOOLS_DIR"/..
./gradlew --write-verification-metadata pgp,sha256 \
build \
assembleFullDebug \
loadKtlintReporters \
-x :app:test \
-x :app:lint \
-x :download:nativeTest
printf "\nIf you changed dependencies related to tests, also add 'test' or 'connectedCheck'.\n\n"
printf "\nPlease review the following diff:\n\n"
git diff gradle/verification-metadata.xml