Update F-Droid local build scripts (#1405)

This commit is contained in:
Leendert de Borst
2025-11-28 00:11:11 +01:00
committed by Leendert de Borst
parent 6a4fbb9193
commit 6b949bcb2f
2 changed files with 4 additions and 6 deletions

View File

@@ -26,7 +26,7 @@ Builds:
init:
- cd ../..
- sed -i -e '/signingConfig /d' android/app/build.gradle
- npm install --build-from-source
- npm install --production --build-from-source
gradle:
- yes
scanignore:
@@ -44,9 +44,6 @@ Builds:
- apps/mobile-app/node_modules/react-native-context-menu-view/android/build.gradle
- apps/mobile-app/node_modules/react-native-get-random-values/android/build.gradle
- apps/mobile-app/node_modules/react-native-svg/android/build.gradle
- apps/mobile-app/node_modules/expo-dev-launcher/android/build.gradle
- apps/mobile-app/node_modules/expo-dev-menu/android/build.gradle
- apps/mobile-app/node_modules/expo-camera/android/build.gradle
scandelete:
- apps/mobile-app/node_modules/

View File

@@ -22,8 +22,9 @@ cd /home/vagrant/build
fdroid fetchsrclibs net.aliasvault.app --verbose
# Format build receipe
fdroid rewritemeta net.aliasvault.app
# Lint app
fdroid lint --verbose net.aliasvault.app
# Build app and scan for any binary files that are prohibited
fdroid build --verbose --latest --scan-binary --on-server --no-tarball net.aliasvault.app
fdroid build --verbose --test --latest --scan-binary --on-server --no-tarball net.aliasvault.app
# Copy any outputs to the bind mount folder
rsync -avh /home/vagrant/build/build/net.aliasvault.app/apps/mobile-app/android/app/build/outputs/ /outputs/