Pedro Pombeiro
4f7cb549d9
Upgrade from hermesvm@0.1.1 to hermes-engine@0.2.1
...
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2019-09-16 17:07:52 +03:00
Pedro Pombeiro
061939189b
nix: Use a more standard name the patched Gradle and NPM package
2019-09-14 00:10:51 +02:00
Pedro Pombeiro
8c7323e126
Use flock to create exclusive locks on node_modules/
...
Signed-off-by: Pedro Pombeiro <pombeirp@users.noreply.github.com>
2019-09-13 17:46:18 +02:00
Pedro Pombeiro
e3e8e218ad
Make root folder less busy
...
- Move `mobile_files` into `mobile/js_files`
- Move `desktop_files` into `desktop/js_files`
Signed-off-by: Pedro Pombeiro <pombeirp@users.noreply.github.com>
2019-09-12 16:54:12 +02:00
Pedro Pombeiro
8209bf260c
Rename `package.json.orig` to `package.json`
...
- This allows 3rd party tools like Dependabot to inspect our dependencies
2019-09-12 16:16:43 +02:00
Pedro Pombeiro
cc79cf3b3a
Enable Hermes in Android. Fixes #8952
...
Signed-off-by: Pedro Pombeiro <pombeirp@users.noreply.github.com>
2019-09-12 16:15:11 +02:00
Pedro Pombeiro
e4eabd2810
Migrate to use AndroidX
2019-09-12 16:13:43 +02:00
Pedro Pombeiro
46e3b52809
Fix Android build on macOS
2019-09-12 16:13:42 +02:00
Pedro Pombeiro
9feb31bd3b
Upgrade react-native to 0.60.5
...
- Use community net-info, react-native-webview instead of deprecated react-native classes
- Remove react-native-tcp
- Upgrade react-native libs (react-native-camera, react-native-firebase, react-native-mail, react-native-udp, react-native-webview-bridge)
- Do not include `:react-native-android` module explicitly
- Take advantage of RN AutoLinking
- nix: Update Gradle dependencies
2019-09-12 16:13:42 +02:00
yenda
c3dd950286
remove realm
...
Signed-off-by: yenda <eric@status.im>
2019-09-09 18:40:15 +02:00
Pedro Pombeiro
a74089f857
nix: Fix generate-maven-and-npm-deps-shell
...
Signed-off-by: Pedro Pombeiro <pombeirp@users.noreply.github.com>
2019-09-06 17:18:36 +02:00
bitsikka
083cf07670
Ensure the pods are installed if `ios/Pods/` dir isn't there
2019-09-06 11:57:24 +02:00
Pedro Pombeiro
66b982c3fb
Use react-native net-info community package
...
Signed-off-by: yenda <eric@status.im>
2019-09-05 14:16:28 +02:00
Pedro Pombeiro
58d310ffce
Remove RAM bundle support
2019-08-30 17:13:35 +02:00
Pedro Pombeiro
78754dfdee
Fix local release PR builds (were missing js modules)
...
Signed-off-by: Pedro Pombeiro <pombeirp@users.noreply.github.com>
2019-08-27 11:49:48 +02:00
Jakub Sokołowski
06dd2e5293
use wait-for.sh to fix nix/clean.sh race condition
...
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2019-08-21 18:53:00 -04:00
Pedro Pombeiro
f0c3958367
nix: Pass target-os to Nix script
...
Signed-off-by: Pedro Pombeiro <pombeirp@users.noreply.github.com>
2019-08-20 10:02:46 +02:00
Pedro Pombeiro
bdc0ba2680
nix: Reset node_modules when Yarn deps change
...
Signed-off-by: Pedro Pombeiro <pombeirp@users.noreply.github.com>
2019-08-15 11:19:35 +02:00
Pedro Pombeiro
ff721ba1bf
nix: Some minor fixes
2019-08-15 11:18:31 +02:00
Pedro Pombeiro
f691304b9d
Fix minor issues and typos in Android build process
...
Signed-off-by: Pedro Pombeiro <pombeirp@users.noreply.github.com>
2019-08-01 19:34:33 +02:00
Jakub Sokołowski
7517f5235a
use nix shell for nix-update-* targets
...
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2019-07-30 14:11:02 -04:00
Pedro Pombeiro
9594552102
nix: Apply some nixfmt suggestions and fix macOS status-go buildInputs
...
Signed-off-by: Pedro Pombeiro <pombeirp@users.noreply.github.com>
2019-07-29 18:01:07 +02:00
Pedro Pombeiro
acf6278383
nix: Use nix/build.sh for release-android make target
...
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2019-07-26 16:01:06 -04:00
Jakub Sokołowski
2acd5b4cb0
rename prod-build to jsbundle so it means something
...
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2019-07-24 11:56:03 -04:00
Pedro Pombeiro
67d21c98c1
nix: Use status-go commit sha1 in Nix expression to allow for moving branches
...
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2019-07-20 10:11:34 -04:00
Pedro Pombeiro
7230897b94
nix: Allow some build directories to stay in mobile node_modules (for caching)
...
Signed-off-by: Pedro Pombeiro <pombeirp@users.noreply.github.com>
2019-07-19 08:37:16 +02:00
Pedro Pombeiro
90fbcfab2b
nix: Only include fastlane in main shell when targetting iOS.
...
This sidesteps an issue where Nix complains about mismatched hashes in `ruby2.5.3-unf_ext-0.0.7.6` expression for Android CI builds.
Signed-off-by: Pedro Pombeiro <pombeirp@users.noreply.github.com>
2019-07-15 16:35:01 +02:00
Pedro Pombeiro
a7fd659d84
nix: Wrap gradle, npm packages, `lein prod-build` and `gradle assembleRelease` in Nix expressions to improve reproducible builds with constant build paths
2019-07-15 16:08:02 +02:00
Pedro Pombeiro
79db8e5107
Upgrade Xcode requirement to 10.2.1
...
Signed-off-by: Pedro Pombeiro <pombeirp@users.noreply.github.com>
2019-06-13 15:03:58 +02:00
Pedro Pombeiro
ee127722ce
nix: Move debug realm into desktop folder and use RN cli from node_modulesSigned-off-by: Pedro Pombeiro <pombeirp@users.noreply.github.com>
2019-05-23 22:54:43 +02:00
Pedro Pombeiro
373291bfc0
nix: Avoid bad practice of inheriting pkgs
...
Signed-off-by: Pedro Pombeiro <pombeirp@users.noreply.github.com>
2019-05-21 12:15:56 +02:00
Pedro Pombeiro
b542c7de26
Minor refactoring of the way dependency packages are iterated for shellHook and buildInputs.
...
Signed-off-by: Pedro Pombeiro <pombeirp@users.noreply.github.com>
2019-05-13 13:08:28 +02:00
Pedro Pombeiro
a09ff50583
nix: Move status-go package further down where it is actually used
...
Signed-off-by: Pedro Pombeiro <pombeirp@users.noreply.github.com>
2019-05-10 13:31:44 +02:00
Pedro Pombeiro
49fbf21f8d
Split status-go Nix package per platform so rebuilds are faster
...
Signed-off-by: Pedro Pombeiro <pombeirp@users.noreply.github.com>
2019-05-06 14:40:23 +02:00
Pedro Pombeiro
9d1e266145
Use fastlane Nix package instead of ruby/bundler for Android
...
- iOS still has issues with native Ruby dependencies
Signed-off-by: Pedro Pombeiro <pombeirp@users.noreply.github.com>
2019-05-06 11:57:12 +02:00
Pedro Pombeiro
b575f5f6a5
Create androidenv package with accepted license so build can run with --pure
2019-05-06 11:56:51 +02:00
Pedro Pombeiro
1dc59cb770
Fix typo in android.nix PATH
...
Signed-off-by: Igor Mandrigin <i@mandrigin.ru>
2019-04-29 22:17:49 +02:00
Pedro Pombeiro
8e6b8b1ff1
Use Android SDK from nixpkgs instead of downloading
2019-04-12 13:57:38 +02:00
Pedro Pombeiro
aeacbd928e
Separate logic into shell.nix and derivation.nix to fix `nix build` command
...
Signed-off-by: Pedro Pombeiro <pombeirp@users.noreply.github.com>
2019-04-11 17:44:29 +02:00
Pedro Pombeiro
f048b8a80d
Use gradle 4.10.2 package from nixpkgs so the wrapper doesn't need to download it
2019-04-09 12:44:39 +02:00
Pedro Pombeiro
65e6e80349
Create Nix package for building status-go
2019-04-09 12:44:39 +02:00