Pedro Pombeiro
af7341447c
nix: Remove need to pass default values in `--arg config`
...
Signed-off-by: Pedro Pombeiro <pombeirp@users.noreply.github.com>
2019-11-17 16:26:58 +01:00
Pedro Pombeiro
f7384ae338
Add support for `STATUS_GO_SRC_OVERRIDE` env var
...
Signed-off-by: Pedro Pombeiro <pombeirp@users.noreply.github.com>
2019-11-13 16:41:21 +01:00
Pedro Pombeiro
a71500b312
nix: fix passing of env vars to release-android expression
2019-11-13 12:01:48 +01:00
Jakub Sokołowski
05ee65b6fa
don't use SHA1s as status-go version
...
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2019-11-06 21:46:02 +01:00
Jakub Sokołowski
971db3ea2e
include status-go params to set varsion and commit
...
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2019-11-04 21:12:30 +01:00
Pedro Pombeiro
8e90103e96
nix: Upgrade expected Xcode version to 11.1
...
Also:
- nix: Disable symlink store check
- Add comments to dependabot config file
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2019-10-15 18:40:26 +02:00
Volodymyr Kozieiev
ace4b5a161
Desktop works with react-navigation v3
...
Signed-off-by: Volodymyr Kozieiev <vkjr.sp@gmail.com>
2019-10-02 10:19:37 +03:00
Jakub Sokołowski
973623f4c8
build multiple APKs for different architectures
...
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2019-09-30 13:59:42 +02:00
Pedro Pombeiro
8ace86f7da
Use sponge to avoid need for temp file
...
Signed-off-by: Pedro Pombeiro <pombeirp@users.noreply.github.com>
2019-09-14 00:14:57 +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
699ac8c56e
Upgrade desktop yarn.lock
...
Signed-off-by: Pedro Pombeiro <pombeirp@users.noreply.github.com>
2019-09-13 11:35:45 +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
46e3b52809
Fix Android build on macOS
2019-09-12 16:13:42 +02:00
Pedro Pombeiro
d6b8065a7c
Get rid of duplicate sources of external modules and fonts in build-desktop.sh
...
Signed-off-by: Pedro Pombeiro <pombeirp@users.noreply.github.com>
2019-09-11 15:25:21 +02:00
Pedro Pombeiro
58d310ffce
Remove RAM bundle support
2019-08-30 17:13:35 +02:00
MajorTomSec
5dbac2b1d9
[Fix 8635] About showed "Version ()" instead of Version 0.14.0 (201908...) on Android
...
Fixes #8635 by adding VERSION and BUILD_NUMBER files in the correct nix
template and updating bash script in order to prevent it from failing,
due to the git repository being not initialized in the nix environment.
Move scripts/build_no.sh and scripts/gen_build_no.sh to
scripts/version/build_no.sh to prevent Nix from rebuilding when
unrelated scripts are touched.
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2019-08-26 12:51:50 +03: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
ff721ba1bf
nix: Some minor fixes
2019-08-15 11:18:31 +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
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
Pedro Pombeiro
2ac0630ef8
nix: fix target OS for add-nix-gcroots.sh
...
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2019-07-25 13:47:43 -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
Jakub Sokołowski
9d1bf5714d
add --reset-cache to stop metro-cache from growing
...
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2019-07-24 09:39:17 -04:00
Jakub Sokołowski
b9ab37019d
build status-go for Nix cache
...
Also fix scripts/update-status-go.sh to accept commit SHA1
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2019-07-23 01:01:41 -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
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
tbenr
b78bb456a4
add coverage test
...
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2019-07-10 16:15:44 -04:00
Pedro Pombeiro
977f1cd936
Remove RN patch
2019-07-05 13:40:31 +02:00
Pedro Pombeiro
8d8ef4d263
Only bring in Android dependencies in gomobile if targetting Android
2019-07-05 13:40:31 +02:00
Pedro Pombeiro
c18e2f8a09
Minor fixes in Nix
2019-06-13 15:03:44 +02:00
Pedro Pombeiro
1457f0f017
Some changes from the node2nix test branch that don't need to be there
...
Signed-off-by: Pedro Pombeiro <pombeirp@users.noreply.github.com>
2019-06-06 19:13:31 +02:00
Pedro Pombeiro
ab11a67c96
Move files that don't change per platform to the root
2019-06-06 16:56:24 +02:00
Roman Volosovskyi
c7c7b50281
RAM bundle basic setup
2019-05-27 17:34:17 +03: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
Jakub Sokołowski
0e8e5a51ba
refactor nix_sh to give it optional Map arguments
...
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2019-05-14 16:06:16 +02:00
Pedro Pombeiro
90d517adf6
nix: Add add-gcroots target to Makefile to avoid garbage collection
...
Signed-off-by: Pedro Pombeiro <pombeirp@users.noreply.github.com>
2019-05-13 11:33:00 +02:00
Roman Volosovskyi
ff39426e56
[android] send logs to error-reports@status.im
2019-05-10 17:02:58 +03:00
Pedro Pombeiro
4041a12612
Print a friendlier message when Xcode/iPhone SDK are not installed
...
Signed-off-by: Pedro Pombeiro <pombeirp@users.noreply.github.com>
2019-05-10 15:07:52 +02:00
Pedro Pombeiro
93efc0cd05
Run prepare-for-desktop.sh in an impure shell
2019-05-10 11:48:32 +02:00
Pedro Pombeiro
fca01891ba
Improvements for a pure macOS Nix environment
2019-05-10 11:48:31 +02:00
yenda
625ff669f7
remove unnecessary check in update-status-go script
...
Signed-off-by: Pedro Pombeiro <pombeirp@users.noreply.github.com>
2019-05-09 18:34:52 +02:00
Pedro Pombeiro
69b9847c5f
Don't ever try to install Nix on NixOS
2019-05-09 14:14:58 +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
f329ca9bdf
Add comments to STATUS_GO_VERSION to avoid manual editing
...
Signed-off-by: Pedro Pombeiro <pombeirp@users.noreply.github.com>
2019-05-02 21:44:15 +02:00
Igor Mandrigin
d905aa7fa4
request to squash commits if the PR has multiple
...
Signed-off-by: Igor Mandrigin <i@mandrigin.ru>
2019-04-16 11:52:40 +02:00
Pedro Pombeiro
a436793fa0
Consolidate TARGET_SYSTEM_NAME and TARGET_PLATFORM with TARGET_OS
...
Signed-off-by: Pedro Pombeiro <pombeirp@users.noreply.github.com>
2019-04-15 20:31:38 +01: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
7be77fffb0
Do not change user's profile with Nix installation
...
Signed-off-by: Pedro Pombeiro <pombeirp@users.noreply.github.com>
2019-04-11 14:59:33 +02:00