No longer delete before npm installing local modules
This doesn't appear to have been necessary and seems to sometimes cause an issue because the packager will start and look for a JS file that was just deleted.
This commit is contained in:
parent
2e3a3b5db8
commit
1ab3a8a985
|
@ -635,7 +635,7 @@
|
|||
);
|
||||
runOnlyForDeploymentPostprocessing = 0;
|
||||
shellPath = /bin/sh;
|
||||
shellScript = "rm -rf ../node_modules/realm\n[ -s \"${HOME}/.nvm/nvm.sh\" ] && . \"${HOME}/.nvm/nvm.sh\"\nnpm install realm";
|
||||
shellScript = "[ -s \"${HOME}/.nvm/nvm.sh\" ] && . \"${HOME}/.nvm/nvm.sh\"\nnpm install realm";
|
||||
};
|
||||
F6C465131C48706400E79896 /* Bundle React Native code and images */ = {
|
||||
isa = PBXShellScriptBuildPhase;
|
||||
|
|
|
@ -5,7 +5,6 @@ set -e
|
|||
|
||||
PATH="/opt/android-sdk-linux/platform-tools:$PATH"
|
||||
|
||||
rm -rf node_modules/realm
|
||||
npm install realm
|
||||
|
||||
adb reverse tcp:8081 tcp:8081
|
||||
|
|
|
@ -5,7 +5,6 @@ set -e
|
|||
|
||||
PATH="/opt/android-sdk-linux/platform-tools:$PATH"
|
||||
|
||||
rm -rf node_modules/realm
|
||||
npm install realm
|
||||
|
||||
adb reverse tcp:8081 tcp:8081
|
||||
|
|
|
@ -615,7 +615,7 @@
|
|||
);
|
||||
runOnlyForDeploymentPostprocessing = 0;
|
||||
shellPath = /bin/sh;
|
||||
shellScript = "[ -s \"${HOME}/.nvm/nvm.sh\" ] && . \"${HOME}/.nvm/nvm.sh\" \nrm -rf ../node_modules/realm ../node_modules/realm-tests\nnpm install realm realm-tests\ncp ../../../src/object-store/parser/queryTests.json ../node_modules/realm-tests/query-tests.json\n";
|
||||
shellScript = "[ -s \"${HOME}/.nvm/nvm.sh\" ] && . \"${HOME}/.nvm/nvm.sh\" \nnpm install realm realm-tests\ncp ../../../src/object-store/parser/queryTests.json ../node_modules/realm-tests/query-tests.json\n";
|
||||
};
|
||||
F6EDE5BF1C49007200B1085F /* Bundle React Native code and images */ = {
|
||||
isa = PBXShellScriptBuildPhase;
|
||||
|
|
|
@ -5,7 +5,6 @@ set -e
|
|||
|
||||
PATH="/opt/android-sdk-linux/platform-tools:$PATH"
|
||||
|
||||
rm -rf node_modules/realm node_modules/realm-tests
|
||||
npm install realm realm-tests
|
||||
|
||||
cp ../../src/object-store/parser/queryTests.json node_modules/realm-tests/query-tests.json
|
||||
|
|
Loading…
Reference in New Issue