FragDenStaat: Fix build error

Use Yarn instead of npm because npm does not follow yarn.lock
This commit is contained in:
Pierre Rudloff 2019-06-08 13:03:05 +00:00
parent 2ce529f28d
commit 7fc8820f98
3 changed files with 91 additions and 127 deletions

View file

@ -1,127 +0,0 @@
Categories:Reading,Writing
License:MIT
Web Site:http://app.fragdenstaat.de/
Source Code:https://github.com/jfilter/frag-den-staat-app
Issue Tracker:https://github.com/jfilter/frag-den-staat-app/issues
Auto Name:FragDenStaat
Summary:Navigate FragDenStaat
Description:
This app is for FragDenStaat.de, a platform to simplify the process of sending
and managing FOI requests to German public bodies.
The app should include the basic functionalities of the website such as browsing
through requests, searching, and creating new requests.
.
Repo Type:git
Repo:https://github.com/jfilter/frag-den-staat-app.git
Build:0.8.1,23
commit=v0.8.1
subdir=android/app
sudo=curl -Lo node.tar.xz https://nodejs.org/dist/v8.11.1/node-v8.11.1-linux-x64.tar.xz && \
echo "6617e245fa0f7fbe0e373e71d543fea878315324ab31dc64b4eba10e42d04c11 node.tar.xz" | sha256sum -c - && \
tar xJf node.tar.xz && \
cp -a node-v8.11.1-linux-x64/. /usr/local/
gradle=yes
prebuild=npm install && \
truncate -s 0 ../../node_modules/react-native/local-cli/server/util/external/xsel && \
rm ../../node_modules/react-native/ReactAndroid/src/main/third-party/java/infer-annotations/infer-annotations-4.0.jar ../../node_modules/react-native/ReactAndroid/src/main/third-party/java/buck-android-support/buck-android-support.jar
scanignore=android/build.gradle
scandelete=node_modules
Build:0.8.3,25
disable=doesn't build
commit=v0.8.3
subdir=android/app
sudo=curl -Lo node.tar.xz https://nodejs.org/dist/v8.11.1/node-v8.11.1-linux-x64.tar.xz && \
echo "6617e245fa0f7fbe0e373e71d543fea878315324ab31dc64b4eba10e42d04c11 node.tar.xz" | sha256sum -c - && \
tar xJf node.tar.xz && \
cp -a node-v8.11.1-linux-x64/. /usr/local/
gradle=yes
prebuild=npm install && \
truncate -s 0 ../../node_modules/react-native/local-cli/server/util/external/xsel && \
rm ../../node_modules/react-native/ReactAndroid/src/main/third-party/java/infer-annotations/infer-annotations-4.0.jar ../../node_modules/react-native/ReactAndroid/src/main/third-party/java/buck-android-support/buck-android-support.jar
scanignore=android/build.gradle
scandelete=node_modules
Build:0.8.4,26
disable=doesn't build
commit=v0.8.4
subdir=android/app
sudo=curl -Lo node.tar.xz https://nodejs.org/dist/v8.11.1/node-v8.11.1-linux-x64.tar.xz && \
echo "6617e245fa0f7fbe0e373e71d543fea878315324ab31dc64b4eba10e42d04c11 node.tar.xz" | sha256sum -c - && \
tar xJf node.tar.xz && \
cp -a node-v8.11.1-linux-x64/. /usr/local/
gradle=yes
prebuild=npm install && \
truncate -s 0 ../../node_modules/react-native/local-cli/server/util/external/xsel && \
rm ../../node_modules/react-native/ReactAndroid/src/main/third-party/java/infer-annotations/infer-annotations-4.0.jar ../../node_modules/react-native/ReactAndroid/src/main/third-party/java/buck-android-support/buck-android-support.jar
scanignore=android/build.gradle
scandelete=node_modules
Build:0.8.5,27
commit=v0.8.5
subdir=android/app
sudo=curl -Lo node.tar.xz https://nodejs.org/dist/v8.12.0/node-v8.12.0-linux-x64.tar.xz && \
echo "29a20479cd1e3a03396a4e74a1784ccdd1cf2f96928b56f6ffa4c8dae40c88f2 node.tar.xz" | sha256sum -c - && \
tar xJf node.tar.xz && \
cp -a node-v8.12.0-linux-x64/. /usr/local/
gradle=yes
prebuild=npm install && \
truncate -s 0 ../../node_modules/react-native/local-cli/server/util/external/xsel && \
rm ../../node_modules/react-native/ReactAndroid/src/main/third-party/java/infer-annotations/infer-annotations-4.0.jar ../../node_modules/react-native/ReactAndroid/src/main/third-party/java/buck-android-support/buck-android-support.jar
scanignore=android/build.gradle
scandelete=node_modules
Build:0.9.1,29
commit=v0.9.1
subdir=android/app
sudo=curl -Lo node.tar.xz https://nodejs.org/dist/v8.12.0/node-v8.12.0-linux-x64.tar.xz && \
echo "29a20479cd1e3a03396a4e74a1784ccdd1cf2f96928b56f6ffa4c8dae40c88f2 node.tar.xz" | sha256sum -c - && \
tar xJf node.tar.xz && \
cp -a node-v8.12.0-linux-x64/. /usr/local/
gradle=yes
prebuild=npm install && \
truncate -s 0 ../../node_modules/react-native/local-cli/server/util/external/xsel && \
rm ../../node_modules/react-native/ReactAndroid/src/main/third-party/java/infer-annotations/infer-annotations-4.0.jar ../../node_modules/react-native/ReactAndroid/src/main/third-party/java/buck-android-support/buck-android-support.jar
scanignore=android/build.gradle
scandelete=node_modules
Build:0.9.2,30
commit=v0.9.2
subdir=android/app
sudo=curl -Lo node.tar.xz https://nodejs.org/dist/v8.12.0/node-v8.12.0-linux-x64.tar.xz && \
echo "29a20479cd1e3a03396a4e74a1784ccdd1cf2f96928b56f6ffa4c8dae40c88f2 node.tar.xz" | sha256sum -c - && \
tar xJf node.tar.xz && \
cp -a node-v8.12.0-linux-x64/. /usr/local/
gradle=yes
prebuild=npm install && \
truncate -s 0 ../../node_modules/react-native/local-cli/server/util/external/xsel && \
rm ../../node_modules/react-native/ReactAndroid/src/main/third-party/java/infer-annotations/infer-annotations-4.0.jar ../../node_modules/react-native/ReactAndroid/src/main/third-party/java/buck-android-support/buck-android-support.jar
scanignore=android/build.gradle
scandelete=node_modules
Build:0.9.3,31
commit=v0.9.3
subdir=android/app
sudo=curl -Lo node.tar.xz https://nodejs.org/dist/v8.12.0/node-v8.12.0-linux-x64.tar.xz && \
echo "29a20479cd1e3a03396a4e74a1784ccdd1cf2f96928b56f6ffa4c8dae40c88f2 node.tar.xz" | sha256sum -c - && \
tar xJf node.tar.xz && \
cp -a node-v8.12.0-linux-x64/. /usr/local/
gradle=yes
prebuild=npm install && \
truncate -s 0 ../../node_modules/react-native/local-cli/server/util/external/xsel && \
rm ../../node_modules/react-native/ReactAndroid/src/main/third-party/java/infer-annotations/infer-annotations-4.0.jar ../../node_modules/react-native/ReactAndroid/src/main/third-party/java/buck-android-support/buck-android-support.jar
scanignore=android/build.gradle
scandelete=node_modules
Maintainer Notes:
scanignore is used to allow the "node_modules/react-native/android" local Maven repository which contains the prebuilt react-native library which we get from npm.
.
Auto Update Mode:Version v%v
Update Check Mode:Tags
Current Version:0.9.3
Current Version Code:31

View file

@ -0,0 +1,89 @@
Categories:
- Reading
- Writing
License: MIT
WebSite: http://app.fragdenstaat.de/
SourceCode: https://github.com/jfilter/frag-den-staat-app
IssueTracker: https://github.com/jfilter/frag-den-staat-app/issues
AutoName: FragDenStaat
Summary: Navigate FragDenStaat
Description: |-
This app is for FragDenStaat.de, a platform to simplify the process of sending
and managing FOI requests to German public bodies.
The app should include the basic functionalities of the website such as browsing
through requests, searching, and creating new requests.
RepoType: git
Repo: https://github.com/jfilter/frag-den-staat-app.git
Builds:
- versionName: 0.8.1
versionCode: 23
commit: v0.8.1
subdir: android/app
sudo:
- curl -Lo node.tar.xz https://nodejs.org/dist/v8.11.1/node-v8.11.1-linux-x64.tar.xz
- echo "6617e245fa0f7fbe0e373e71d543fea878315324ab31dc64b4eba10e42d04c11 node.tar.xz"
| sha256sum -c -
- tar xJf node.tar.xz
- cp -a node-v8.11.1-linux-x64/. /usr/local/
gradle:
- yes
prebuild:
- npm install
- truncate -s 0 ../../node_modules/react-native/local-cli/server/util/external/xsel
- rm ../../node_modules/react-native/ReactAndroid/src/main/third-party/java/infer-annotations/infer-annotations-4.0.jar
../../node_modules/react-native/ReactAndroid/src/main/third-party/java/buck-android-support/buck-android-support.jar
scanignore:
- android/build.gradle
scandelete:
- node_modules
- versionName: 0.10.5
versionCode: 37
commit: v0.10.5
subdir: android/app
sudo:
- apt-get update || apt-get update
- apt-get install -y --no-install-recommends -t stretch-backports npm
- npm -g install yarn react-native-cli
init:
- yarn install
- pushd ../../
- ./prepare_fdroid.sh
- popd
gradle:
- yes
srclibs:
- transistor-background-fetch@0.3.0
rm:
- node_modules/react-native/ReactAndroid/src/main/third-party/java/buck-android-support/buck-android-support.jar
- node_modules/shaka-player/third_party/closure/compiler.jar
- node_modules/react-native-background-fetch/android/build/
- node_modules/react-native-video/android-exoplayer/build/
- node_modules/react-native-background-fetch/android/libs/com/transistorsoft/tsbackgroundfetch/0.2.0/tsbackgroundfetch-0.2.0.aar
prebuild: truncate -s 0 ../../node_modules/@react-native-community/cli/build/commands/server/external/xsel
scanignore:
- android/build.gradle
- node_modules/react-native-webview/android/build.gradle
- node_modules/react-native-screens/android/build.gradle
- node_modules/react-native-background-fetch/android/build.gradle
scandelete:
- node_modules
build:
- pushd $$transistor-background-fetch$$/android/tsbackgroundfetch/
- gradle assembleRelease
- popd
- mv $$transistor-background-fetch$$/android/tsbackgroundfetch/build/intermediates/packaged-classes/release/classes.jar
../../node_modules/react-native-background-fetch/android/libs/com/transistorsoft/tsbackgroundfetch/0.2.0/tsbackgroundfetch-0.2.0.jar
MaintainerNotes: scanignore is used to allow the "node_modules/react-native/android"
local Maven repository which contains the prebuilt react-native library which
we get from npm.
AutoUpdateMode: Version v%v
UpdateCheckMode: Tags
CurrentVersion: 0.10.5
CurrentVersionCode: 37

View file

@ -0,0 +1,2 @@
Repo Type:git
Repo:https://github.com/transistorsoft/transistor-background-fetch.git