Skip to content

Commit

Permalink
Skip using podman in lockfile script
Browse files Browse the repository at this point in the history
This makes it easier to use the script in a
wider range of environments and if needed it
can still be executed within a container.
  • Loading branch information
albin-mullvad committed Jun 17, 2024
1 parent 4204b0f commit 666886b
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions android/scripts/update-lockfile.sh
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,4 @@ echo "Removing old components..."
sed -i '/<components>/,/<\/components>/d' ../gradle/verification-metadata.xml

echo "Generating new components..."
android_container_image_name=$(cat "../../building/android-container-image.txt")
podman run --rm -it \
-v ../..:/build:Z \
"$android_container_image_name" \
bash -c 'android/gradlew -q -p android -M sha256 assemble compileDebugUnitTestKotlin assembleAndroidTest lint'
../gradlew -q -p .. -M sha256 assemble compileDebugUnitTestKotlin assembleAndroidTest lint

0 comments on commit 666886b

Please sign in to comment.