com.vishnuraghav.EnRecipes
This commit is contained in:
parent
a18e3df934
commit
c97b34763a
73
metadata/com.vishnuraghav.EnRecipes.yml
Normal file
73
metadata/com.vishnuraghav.EnRecipes.yml
Normal file
@ -0,0 +1,73 @@
|
||||
Categories:
|
||||
- Sports & Health
|
||||
License: GPL-3.0-only
|
||||
AuthorName: Vishnu Raghav B
|
||||
AuthorEmail: apps@vishnuraghav.com
|
||||
AuthorWebSite: https://www.vishnuraghav.com
|
||||
WebSite: https://enrecipes.vercel.app
|
||||
SourceCode: https://github.com/vishnuraghavb/EnRecipes
|
||||
IssueTracker: https://github.com/vishnuraghavb/EnRecipes/issues
|
||||
Translation: https://hosted.weblate.org/engage/enrecipes
|
||||
Changelog: https://github.com/vishnuraghavb/EnRecipes/releases
|
||||
Donate: https://www.vishnuraghav.com/donate
|
||||
Liberapay: vishnuraghavb
|
||||
Bitcoin: bc1qjxwecmmajnl7qvyzwqqka60tfvcyj9qhy2lpq8
|
||||
|
||||
RepoType: git
|
||||
Repo: https://github.com/vishnuraghavb/EnRecipes.git
|
||||
|
||||
Builds:
|
||||
- versionName: 2.0.0
|
||||
versionCode: 1
|
||||
commit: v2.0.0
|
||||
sudo:
|
||||
- apt-get update || apt-get update
|
||||
- apt-get install -y lib32z1
|
||||
- curl -Lo node.tar.gz https://nodejs.org/dist/v10.23.1/node-v10.23.1-linux-x64.tar.gz
|
||||
- echo "2a5f9d862468a4c677630923531e52339526cfd075cc6df30da4636782eb7bda node.tar.gz"
|
||||
| sha256sum -c -
|
||||
- tar xzf node.tar.gz
|
||||
- cp -a node-v10.23.1-linux-x64/. /usr/local/
|
||||
- npm -g install nativescript
|
||||
- "sed -i 's/: \".\\/gradlew\"\\;/: \"\\/home\\/vagrant\\/fdroidserver\\/gradlew-fdroid\"\
|
||||
\\;/' /usr/local/lib/node_modules/nativescript/lib/services/android/gradle-command-service.js"
|
||||
init:
|
||||
- $$SDK$$/tools/bin/sdkmanager "platforms;android-30" "build-tools;30.0.3" >
|
||||
/dev/null
|
||||
- npm install --unsafe-perm
|
||||
output: platforms/android/app/build/outputs/apk/release/app-release-unsigned.apk
|
||||
srclibs:
|
||||
- NativeScript_android-runtime@v7.0.1
|
||||
- NativeScript_NativeScript@8.0.8-core
|
||||
scandelete:
|
||||
- node_modules
|
||||
build:
|
||||
- pushd $$NativeScript_NativeScript$$/packages/ui-mobile-base/android/widgets
|
||||
- gradle assembleRelease
|
||||
- popd
|
||||
- mkdir -p node_modules/@nativescript/core/platforms/android
|
||||
- cp $$NativeScript_NativeScript$$/packages/ui-mobile-base/android/widgets/build/outputs/aar/widgets-release.aar
|
||||
node_modules/@nativescript/core/platforms/android/widgets-release.aar
|
||||
- rm -rf $$NativeScript_NativeScript$$
|
||||
- pushd $$NativeScript_android-runtime$$
|
||||
- export JAVA_HOME=$(readlink -f /usr/bin/javac | sed "s:/bin/javac::")
|
||||
- cp $$SDK$$/build-tools/30.0.3/lib/dx.jar test-app/build-tools/android-metadata-generator/src/libs/dx.jar
|
||||
- gradle
|
||||
- popd
|
||||
- mkdir -p node_modules/@nativescript/android
|
||||
- rm -rf node_modules/@nativescript/android/framework
|
||||
- cp -r $$NativeScript_android-runtime$$/dist/framework node_modules/@nativescript/android
|
||||
- rm -rf $$NativeScript_android-runtime$$
|
||||
- ns prepare android
|
||||
- sed -i 's/\(signingConfig[[:space:]]\)signingConfigs\.release/\1null/' platforms/android/app/build.gradle
|
||||
- ns build android --release --env.uglify --key-store-path /dev/null --key-store-alias
|
||||
NULL --key-store-password NULL --key-store-alias-password NULL || (cd platforms/android/app/build/outputs/apk/release
|
||||
- echo "The following files were found:"
|
||||
- find -maxdepth 1 -type f -name "*.apk")
|
||||
ndk: r20b
|
||||
|
||||
AutoUpdateMode: Version
|
||||
UpdateCheckMode: Tags
|
||||
UpdateCheckData: app/resources/Android/app.gradle|versionCode\s(\d+)|.|versionName\s'(.+)'
|
||||
CurrentVersion: 2.0.0
|
||||
CurrentVersionCode: 1
|
7
srclibs/NativeScript_NativeScript.yml
Normal file
7
srclibs/NativeScript_NativeScript.yml
Normal file
@ -0,0 +1,7 @@
|
||||
RepoType: git
|
||||
Repo: https://github.com/NativeScript/NativeScript
|
||||
|
||||
Prepare: |
|
||||
cd packages/ui-mobile-base/android/widgets
|
||||
rm -rf gradle
|
||||
sed -i s/\<\</doLast/ build.gradle
|
7
srclibs/NativeScript_android-runtime.yml
Normal file
7
srclibs/NativeScript_android-runtime.yml
Normal file
@ -0,0 +1,7 @@
|
||||
RepoType: git
|
||||
Repo: https://github.com/NativeScript/android-runtime
|
||||
|
||||
Prepare: |
|
||||
git submodule update --init --recursive
|
||||
rm -rf test-app/build-tools/android-metadata-generator/jars
|
||||
rm test-app/build-tools/android-metadata-generator/src/libs/dx.jar
|
Loading…
x
Reference in New Issue
Block a user