Merge branch 'feature/com.mattermost.rnbeta' into 'master'
Mattermost Beta: Another attempt at using less RAM See merge request fdroid/fdroiddata!4933
This commit is contained in:
commit
754e4113ba
|
@ -283,7 +283,9 @@ Builds:
|
|||
- node_modules/shaka-player/third_party/closure/compiler.jar
|
||||
- node_modules/.bin/socketcluster
|
||||
prebuild:
|
||||
- sed -i -e '/play-services-gcm/,+2d' build.gradle
|
||||
- "sed -i -e '/play-services-gcm/,+2d' -e 's/bundleCommand: \"ram-bundle\",/bundleCommand:\
|
||||
\ \"ram-bundle\", nodeExecutableAndArgs: [\"node\", \"--max-old-space-size=12000\"\
|
||||
],/' build.gradle"
|
||||
- sed -i -e '/ReactNativeYouTube/d' src/main/java/com/mattermost/rnbeta/MainApplication.java
|
||||
- sed -i -e '/com.google.android.gms.iid.InstanceID.getInstance/d' ../../node_modules/react-native-device-info/android/src/main/java/com/learnium/RNDeviceInfo/RNDeviceModule.java
|
||||
- sed -i -e '/play-services/d' ../../node_modules/react-native-device-info/android/build.gradle
|
||||
|
@ -302,7 +304,6 @@ Builds:
|
|||
- node_modules/react-native-webview/android/build.gradle
|
||||
scandelete:
|
||||
- node_modules
|
||||
build: export NODE_OPTIONS=--max_old_space_size=12000
|
||||
|
||||
MaintainerNotes: |-
|
||||
sed is used to:
|
||||
|
|
Loading…
Reference in a new issue