Mattermost Beta: Another attempt at using less RAM
This commit is contained in:
parent
e3eb677202
commit
8452f30a0d
|
|
@ -283,7 +283,9 @@ Builds:
|
||||||
- node_modules/shaka-player/third_party/closure/compiler.jar
|
- node_modules/shaka-player/third_party/closure/compiler.jar
|
||||||
- node_modules/.bin/socketcluster
|
- node_modules/.bin/socketcluster
|
||||||
prebuild:
|
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 '/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 '/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
|
- 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
|
- node_modules/react-native-webview/android/build.gradle
|
||||||
scandelete:
|
scandelete:
|
||||||
- node_modules
|
- node_modules
|
||||||
build: export NODE_OPTIONS=--max_old_space_size=12000
|
|
||||||
|
|
||||||
MaintainerNotes: |-
|
MaintainerNotes: |-
|
||||||
sed is used to:
|
sed is used to:
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue