Merge pull request #160 from realm/al-example
Update package settings and fix example reload issue
This commit is contained in:
commit
2a03d9be94
|
@ -610,7 +610,7 @@
|
|||
);
|
||||
runOnlyForDeploymentPostprocessing = 0;
|
||||
shellPath = /bin/sh;
|
||||
shellScript = "rm -rf ./node_modules/realm\nnpm install realm";
|
||||
shellScript = "rm -rf ./node_modules/realm\n[ -s \"${HOME}/.nvm/nvm.sh\" ] && . \"${HOME}/.nvm/nvm.sh\"\nnpm install realm";
|
||||
};
|
||||
/* End PBXShellScriptBuildPhase section */
|
||||
|
||||
|
|
|
@ -3,10 +3,10 @@
|
|||
"version": "0.0.1",
|
||||
"private": true,
|
||||
"scripts": {
|
||||
"start": "node_modules/react-native/packager/packager.sh"
|
||||
"start": "react-native start"
|
||||
},
|
||||
"dependencies": {
|
||||
"react-native": "0.14.2",
|
||||
"react-native": "^0.14.2",
|
||||
"realm": "file:../../lib"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -376,8 +376,6 @@ uint64_t Realm::get_schema_version(const realm::Realm::Config &config)
|
|||
|
||||
void Realm::close()
|
||||
{
|
||||
invalidate();
|
||||
|
||||
if (m_notifier) {
|
||||
m_notifier->remove_realm(this);
|
||||
}
|
||||
|
|
|
@ -614,7 +614,7 @@
|
|||
);
|
||||
runOnlyForDeploymentPostprocessing = 0;
|
||||
shellPath = /bin/sh;
|
||||
shellScript = "rm -rf ../node_modules/realm ../node_modules/realm-tests\nnpm install realm realm-tests\ncp ../../../src/object-store/parser/queryTests.json ../node_modules/realm-tests\n";
|
||||
shellScript = "rm -rf ../node_modules/realm ../node_modules/realm-tests\n[ -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\n";
|
||||
};
|
||||
/* End PBXShellScriptBuildPhase section */
|
||||
|
||||
|
|
|
@ -3,10 +3,10 @@
|
|||
"version": "0.0.1",
|
||||
"private": true,
|
||||
"scripts": {
|
||||
"start": "node_modules/react-native/packager/packager.sh"
|
||||
"start": "react-native start"
|
||||
},
|
||||
"dependencies": {
|
||||
"react-native": "0.14.2",
|
||||
"react-native": "^0.14.2",
|
||||
"realm": "file:../../lib",
|
||||
"realm-tests": "file:.."
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue