45 lines
1.6 KiB
YAML
45 lines
1.6 KiB
YAML
# PLEASE REMOVE ALL COMMENTS BEFORE SUBMITTING TO F-DROID DATA!
|
|
|
|
# Starting from the following template and grep for "npm" in the metadata
|
|
# directory to see other examples.
|
|
# See also https://f-droid.org/2020/10/14/adding-react-native-app-to-f-droid.html
|
|
|
|
Builds:
|
|
- versionName: '1.0'
|
|
versionCode: 1
|
|
commit: '1.0'
|
|
subdir: android/app/
|
|
sudo:
|
|
- sysctl fs.inotify.max_user_watches=524288 || true
|
|
# Find the nodejs download URL at https://nodejs.org/en/download/releases/
|
|
# Download the gz tarball because xz-utils is not installed by default
|
|
- curl -Lo node.tar.gz https://nodejs.org/download/release/v19.3.0/node-v19.3.0-linux-x64.tar.gz
|
|
# Find the checksum at https://nodejs.org/dist/v${VERSION}/SHASUMS256.txt.asc
|
|
- echo "b525028ae5bb71b5b32cb7fce903ccce261dbfef4c7dd0f3e0ffc27cd6fc0b3f node.tar.gz"
|
|
| sha256sum -c -
|
|
- tar xzf node.tar.gz --strip-components=1 -C /usr/local/
|
|
# If you use yarn
|
|
- npm -g install yarn
|
|
init:
|
|
- cd ../..
|
|
# For NPM
|
|
- npm cache clean
|
|
- npm install --build-from-source
|
|
# For Yarn
|
|
- yarn config set --home enableTelemetry 0
|
|
- yarn cache clean
|
|
- npm_config_build_from_source=true yarn --force
|
|
gradle:
|
|
- yes
|
|
scanignore:
|
|
# Add other build.gradle files here is local maven repo for react-native is used
|
|
# Binaries for react-native, JSC and Hermes can be ignored currently
|
|
- android/build.gradle
|
|
scandelete:
|
|
- node_modules
|
|
|
|
AutoUpdateMode: Version
|
|
UpdateCheckMode: Tags
|
|
CurrentVersion: '1.0'
|
|
CurrentVersionCode: 1
|