Commit Graph

190 Commits

Author SHA1 Message Date
Scott Kyle d5aad959ce Run `npm install` for node tests 2016-04-19 16:40:48 -07:00
Scott Kyle 2a58862070 Add test script for Node 2016-04-19 14:10:10 -07:00
Scott Kyle bbc0ed9d62 Update changelog script 2016-03-29 15:26:45 -07:00
Scott Kyle 4b6d59f949 Update publish script for new Xcode project location 2016-03-23 16:08:02 -07:00
Scott Kyle daa2948028 Move RealmJS.xcodeproj to be under src/ios 2016-03-23 13:39:12 -07:00
Scott Kyle d34ce0055d Fix tests 2016-03-23 13:20:05 -07:00
Scott Kyle 42485045f3 Support linking project with rnpm
The postlink script takes care of linking in libc++ and libz. So now the only setup instructions will be: `rnpm link realm`.

Resolves #226
2016-03-23 10:51:57 -07:00
Ari Lazier b9475ad772 pr feedback 2016-03-21 11:46:34 -07:00
Ari Lazier 48199f6c08 share core version 2016-03-18 19:53:52 -07:00
Ari Lazier 9999120ba6 Use core 0.97.1 2016-03-18 17:44:02 -07:00
Ari Lazier b2e4d93732 support for indexed properties 2016-03-18 16:50:55 -07:00
Scott Kyle f5039faf40 Update test script to npm install root modules 2016-03-16 17:49:20 -07:00
Ari Lazier f723c7b303 only test jsdocs release 2016-03-16 17:46:35 -07:00
Ari Lazier beefcd4835 test debug and release for object-store, don't try to reinstall cmake 2016-03-16 17:46:35 -07:00
Scott Kyle 5d872d6233 Remove accidentally included files in npm package
The 0.11.0-rc was bloated by lots of unnecessary build products and other miscellaneous files.
2016-03-16 16:48:04 -07:00
Scott Kyle 72675f6658 Run publish script tests in Debug and Release
Forgot the Release tests didn't cover Chrome debug mode.
2016-03-16 15:18:16 -07:00
Scott Kyle 395f241f72 Run publish script tests in Release mode
Realized it should have done this after publishing 0.11.0-rc
2016-03-16 13:44:08 -07:00
Scott Kyle e1e567a1d5 Clear watchman cache before each test 2016-03-16 13:30:19 -07:00
Scott Kyle 4d6adb9835 Support publishing prerelease version tags 2016-03-16 13:12:55 -07:00
Scott Kyle 924abe2092 New script to safely publish to npm 2016-03-16 13:01:38 -07:00
Scott Kyle 401b501aab Explicitly opt-in to building Android module
Fixes #277
2016-03-16 13:01:38 -07:00
Scott Kyle 27073a9e66 Properly configure ESLint for syntax checking
Added a test case to run on CI as well.
2016-03-16 13:01:38 -07:00
Ari Lazier 4302f6fe85 changelog 2016-03-10 16:15:54 -08:00
Ari Lazier 5e3c4300c0 Merge pull request #312 from realm/al-download-core
Don't download/unpack core unnecessarily
2016-03-10 16:08:31 -08:00
Scott Kyle eac5f570b6 Logic and style fixes for download-core script 2016-03-09 16:10:09 -08:00
Ari Lazier a9e9710f82 fix spacing 2016-03-06 08:22:29 -08:00
Ari Lazier 4e773d97fe don't download/unpack core unnecessarily 2016-03-06 08:20:04 -08:00
Ari Lazier fd9501458d add object store target to test script 2016-03-03 14:58:05 -08:00
Ari Lazier 548d700ffe object store fixes for js binding 2016-03-03 14:45:44 -08:00
Scott Kyle 4647ab4543 Remove installArchives for Android from test script
This is no longer needed
2016-02-19 02:53:47 -08:00
Scott Kyle d81ce5c49a Update test script to always use nvm if possible 2016-02-19 02:53:10 -08:00
Scott Kyle 600a8909d3 Install all modules before running packager for tests 2016-02-19 02:28:59 -08:00
Scott Kyle 5b2e7b37af Add script to update version in package.json and iOS
This uses agvtool to update the CURRENT_PROJECT_VERSION and DYLIB_CURRENT_VERSION project variables. The Info.plist files have been updated to propagate this value.
2016-02-18 13:58:12 -08:00
Ari Lazier d9abcf0bc2 Merge pull request #199 from realm/sk-listview
Efficient React ListView for Realm collections
2016-02-17 13:13:33 -08:00
Scott Kyle c01c0faa7b Update test script to actually test ReactExample 2016-02-16 00:37:10 -08:00
Scott Kyle a2dca06fe1 Add simple test for generating API docs 2016-02-12 16:57:13 -08:00
Scott Kyle 5f7000d892 Skip building Android module under Xcode 2016-02-11 16:44:22 -08:00
Scott Kyle 69f0241adb Skip building Android module for iOS tests 2016-02-11 13:24:21 -08:00
Nabil Hachicha 7afdbba2ed adding a 'publishAndroid' task to generate the AAR with prebuilt .so files 2016-02-10 16:11:36 -08:00
Ari Lazier 53946d3952 script fix 2016-02-08 11:48:38 -08:00
Ari Lazier e8d472a2e8 script bug fix 2016-02-08 11:30:40 -08:00
Ari Lazier c5a7e4ac30 don't run debug for androi since it isn't hooked up 2016-02-08 11:16:18 -08:00
Scott Kyle 1c1b2ec4ab Add postinstall script to create symlinks
This includes a top-level "android" symlink that should allow `react-native link` command to work.
2016-02-08 03:26:27 -08:00
Scott Kyle 38868fe657 Use start_packager function for Android tests 2016-02-08 03:09:22 -08:00
Nabil Hachicha 97345e62a9 unlocking device after the app is installed 2016-02-03 19:00:21 +00:00
Nabil Hachicha e5ff3683ee starting packager in bg process 2016-02-03 16:43:35 +00:00
Nabil Hachicha 7f0eea2636 reverting start packer 2016-02-03 16:26:35 +00:00
Nabil Hachicha 69edbcbfb6 start packager only once 2016-02-03 16:06:26 +00:00
Scott Kyle bdc20d5263 Fix CI test script for Android
This also makes it run successfully on a Mac.
2016-02-02 14:52:24 -08:00
Ari Lazier af50a6c255 update to proper core version 2016-02-01 10:46:46 -08:00
Scott Kyle bcc53c089f Cleanup test script
This should make it cleanup artifacts more reliably, and gives the script a consistent style.
2016-01-28 00:25:52 -08:00
Scott Kyle 687307ccfa Respect shebang inside shell scripts 2016-01-27 12:34:24 -08:00
Nabil Hachicha 6320f478c2 fixing script echo 2016-01-26 21:10:23 +00:00
Nabil Hachicha 9b0d389ea1 fixing adb path 2016-01-26 21:05:37 +00:00
Nabil Hachicha 56aa718cee fixing nvm 2016-01-26 20:48:47 +00:00
Nabil Hachicha 5cd08aa2ac using nvm 2016-01-26 20:38:42 +00:00
Nabil Hachicha 18cdeaedd5 update test script 2016-01-26 20:23:26 +00:00
Scott Kyle a6715d210d Ignore more things when publishing with NPM
Unfortunately some kind of NPM bug is making it ignore a top-level .npmignore file.
2016-01-22 16:43:53 -08:00
Ari Lazier ba2f6e6f74 run nvm 2016-01-22 16:28:01 -08:00
Nabil Hachicha 0cadc72d28 adding execution right to aapt 2016-01-23 00:09:14 +00:00
Nabil Hachicha 8858cbb302 remove update SDK script 2016-01-22 23:54:17 +00:00
Nabil Hachicha ec5e5a5991 remove previous patched deps 2016-01-22 23:50:40 +00:00
Nabil Hachicha d77a617fc9 Merge branch 'al-android-example' of https://github.com/realm/realm-js into al-android-example 2016-01-22 23:42:47 +00:00
Nabil Hachicha 028325d97f add patched dependency for react native 2016-01-22 23:42:28 +00:00
Ari Lazier 40c02b5cbd Merge branch 'al-android-example' of https://github.com/realm/realm-js into al-android-example 2016-01-22 15:27:21 -08:00
Ari Lazier 01c3d80651 merge master 2016-01-22 15:27:17 -08:00
Nabil Hachicha c136e49bd7 Merge branch 'al-android-example' of https://github.com/realm/realm-js into al-android-example 2016-01-22 23:24:08 +00:00
Nabil Hachicha 6565f14560 updating sdk tool 2016-01-22 23:23:27 +00:00
Ari Lazier 3641260f08 don't fail if there are no child processes 2016-01-22 15:07:17 -08:00
Ari Lazier 7c8b252969 kill child processes 2016-01-22 15:03:00 -08:00
Ari Lazier 9ac642c7f3 kill adb after running tests 2016-01-22 14:48:40 -08:00
Ari Lazier e94017d039 script fix 2016-01-22 13:32:56 -08:00
Ari Lazier d758623f21 don't execute ios stuff on linux 2016-01-22 13:30:16 -08:00
Ari Lazier 077d741a1f test script 2016-01-22 13:26:37 -08:00
Ari Lazier 70eb615668 remove -q option from grep 2016-01-22 13:18:07 -08:00
Ari Lazier 15fdb6d922 clear log 2016-01-22 12:19:47 -08:00
Ari Lazier 2c0a92aa63 ci script 2016-01-22 12:15:38 -08:00
Scott Kyle 804a980d93 Update ReactExample iOS project to latest template
It now will bundle the JS so it can be run on device.
2016-01-15 01:51:59 -08:00
Scott Kyle 381dbbe7ba Merge branch 'sk-npm'
* sk-npm:
  Add ability to publish NPM module to git
  Move RealmJS.mm to correct location
2016-01-05 13:25:20 -08:00
Scott Kyle 602613b992 Update to Realm Core 0.95.5 2015-12-30 16:53:26 -08:00
Scott Kyle 3da6b54df6 Add ability to publish NPM module to git
The top-level package.json explicitly includes the directories it needs (vendor/.npmignore cuts down the cruft). The publish-beta.sh script essentially uses `npm pack` to package up the NPM module and then push it into an orphaned `beta` branch.
2015-12-28 22:01:17 -08:00
Ari Lazier 5fe5554d70 open chrome with 2015-12-18 15:54:02 -08:00
Ari Lazier a8b9394b74 output packager to stdout, launch chrome manually 2015-12-18 15:11:23 -08:00
Ari Lazier 8f14d053f3 pr feedback 2015-12-17 12:42:02 -08:00
Ari Lazier fc81a6c17b launch packager directly 2015-12-17 11:55:29 -08:00
Ari Lazier 899497cdd0 wait for packager at startup 2015-12-17 10:56:08 -08:00
Ari Lazier de227cff28 pr feedback 2015-12-16 18:14:14 -08:00
Ari Lazier 4c402a7daf install from test script 2015-12-15 18:18:18 -08:00
Ari Lazier 2476c061c1 npm install react-native if out of date 2015-12-15 18:02:20 -08:00
Scott Kyle 3cc0250da9 No longer embed frameworks into RealmReact.framework
Instead we build RealmJS and GCDWebServers as static libraries and link those instead.
2015-12-07 14:57:19 -08:00