File tree 2 files changed +6
-3
lines changed
react-native-gutenberg-bridge/android
2 files changed +6
-3
lines changed Original file line number Diff line number Diff line change @@ -2,6 +2,7 @@ before_install:
2
2
- yes | $ANDROID_HOME/tools/bin/sdkmanager "platforms;android-27"
3
3
- yes | $ANDROID_HOME/tools/bin/sdkmanager "build-tools;27.0.3"
4
4
install :
5
+ - export TMPDIR=`dirname $(mktemp)`
5
6
- echo "Changing into the android folder of the Bridge module"
6
7
- pushd react-native-gutenberg-bridge/android && ./gradlew --stacktrace clean -Pgroup=com.github.wordpress-mobile.gutenberg-mobile -Pversion=$VERSION install && popd
7
8
- pushd react-native-aztec/android && ./gradlew --stacktrace clean -Pgroup=com.github.wordpress-mobile.gutenberg-mobile -Pversion=$VERSION install && popd
Original file line number Diff line number Diff line change @@ -49,14 +49,16 @@ if (isJitPack) {
49
49
// If false, it will try to use globally installed node.
50
50
download = true
51
51
52
+ def tmpdir = " ${ System.getenv('TMPDIR')} /jsbundle/${ System.getenv('VERSION')} "
53
+
52
54
// Set the work directory for unpacking node
53
- workDir = file(" ${ project.buildDir } /jsbundle /nodejs" )
55
+ workDir = file(" ${ tmpdir } /nodejs" )
54
56
55
57
// Set the work directory for NPM
56
- npmWorkDir = file(" ${ project.buildDir } /jsbundle /npm" )
58
+ npmWorkDir = file(" ${ tmpdir } /npm" )
57
59
58
60
// Set the work directory for Yarn
59
- yarnWorkDir = file(" ${ project.buildDir } /jsbundle /yarn" )
61
+ yarnWorkDir = file(" ${ tmpdir } /yarn" )
60
62
61
63
// Set the work directory where node_modules should be located
62
64
nodeModulesDir = file(" ${ project.projectDir} /../../" )
You can’t perform that action at this time.
0 commit comments