Commit Graph

29 Commits

Author SHA1 Message Date
Pedro Pombeiro 50b4ef36b5
Remove reliance on .nvmrc file and enforce node version check
Signed-off-by: Pedro Pombeiro <pombeirp@users.noreply.github.com>
2019-01-31 19:42:22 +01:00
Pedro Pombeiro 881dabc241
Fix issues found when running `make setup` on clean MacOS and Linux machines 2019-01-29 23:18:29 +01:00
Jakub Sokołowski 0ce74b1da9
fix use of toolversion by using absolute GIT_ROOT
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2019-01-21 17:07:27 +01:00
Jakub Sokołowski 984404b9e2
change .TOOLVERSION into csv, add toolversion script
Signed-off-by: Jakub Sokołowski <jakub@status.im>
Signed-off-by: Pedro Pombeiro <pombeirp@users.noreply.github.com>
2019-01-18 22:43:11 +01:00
Pedro Pombeiro 4462ebf78a
Install nvm if no system nodejs is found
Signed-off-by: Pedro Pombeiro <pombeirp@users.noreply.github.com>
2019-01-17 19:12:13 +01:00
Pedro Pombeiro ff98c7cbe0
Lock down tool versions (downgrades if necessary) 2019-01-14 19:49:03 +01:00
Pedro Pombeiro 3437982f70
Lock down yarn version for local repo (currently 1.13.0) 2019-01-14 19:49:00 +01:00
Roman Volosovskyi 771cb5c6a2
Fix outdated docs link 2019-01-07 11:22:09 +02:00
yenda 891447b8b3
update realm to 2.20.1 and node to 10.14.0
- add node version 10.14.1 via nvm wrapper for CI

Signed-off-by: Jakub Sokołowski <jakub@status.im>
Signed-off-by: yenda <eric@status.im>
2018-11-30 15:46:58 +01:00
Pedro Pombeiro d4ca0851d7
Fix check for yarn
Signed-off-by: Pedro Pombeiro <pombeirp@users.noreply.github.com>
2018-11-30 11:20:33 +01:00
Igor Mandrigin 37ef82b04d
Use `yarn` instead of `npm` for package management. Lock dependencies.
Signed-off-by: Igor Mandrigin <i@mandrigin.ru>
2018-11-29 16:29:57 +01:00
Pedro Pombeiro 57ef0b2ba3
Avoid unnecessary downloads of Android NDK after running `make clean` 2018-11-26 23:03:35 +01:00
Pedro Pombeiro 8d2818017c
Only disable gradle daemon on CI, and install recommended npm version 2018-11-26 23:03:30 +01:00
Pedro Pombeiro a31d10f6dc
Add support for generating Windows install program instead of zip file. Part of #6304
Signed-off-by: Pedro Pombeiro <pombeirp@users.noreply.github.com>
2018-11-20 15:11:24 +01:00
Andy Tudhope 43357e1708
Update links
Signed-off-by: Andrea Maria Piana <andrea.maria.piana@gmail.com>
2018-11-16 10:17:51 +01:00
Pedro Pombeiro 17a8d3a9c9
Unify desktop builds. Closes #5406
- Replace Linux and MacOS scripts in `ci/desktop.groovy` with calls to `scripts/create-desktop-package.sh`
- Replace use of `deployment/env` with `.env` to avoid confusion and be coherent with mobile platforms

Signed-off-by: Pedro Pombeiro <pombeirp@users.noreply.github.com>
2018-09-26 16:45:48 +02:00
Igor Mandrigin 710c10faa4
Fix `make setup` on macOS.
Before, it always downloaded linux NDK no matter which platform you are
using. This way, `make setup` was actually able to break Android build
on macOS.

Signed-off-by: Igor Mandrigin <i@mandrigin.ru>
2018-09-13 13:00:01 +02:00
Pedro Pombeiro b7b6a252e1
Simplify setup script and fix Android build when setting up from scratch
- gradle was being called without `npm install` having had a chance to execute

Signed-off-by: Pedro Pombeiro <pombeirp@users.noreply.github.com>
2018-09-03 10:00:37 +02:00
Pedro Pombeiro 96b8edc846
setup: Run gradlew task even if NDK was just installed
Signed-off-by: Pedro Pombeiro <pombeirp@users.noreply.github.com>
2018-08-30 10:27:10 +02:00
Aleksandr Pantiukhov 1af763fece
Buildscript fix: we used a wrong comment indicator before
Signed-off-by: Aleksandr Pantiukhov <alwxndr@gmail.com>
2018-08-21 14:45:12 +02:00
Aleksandr Pantiukhov 4a1c8e11a3
`setup` script updates: wget installation; updated Android SDK installer
Signed-off-by: Goran Jovic <goranjovic@gmail.com>
2018-07-31 15:13:32 +02:00
Pedro Pombeiro 2a6bb4cb8f
Set JVM heap size in gradle.properties so that dex can run in-process
Signed-off-by: Pedro Pombeiro <pombeirp@users.noreply.github.com>
2018-07-12 19:02:01 +02:00
Pedro Pombeiro 0051b7cb9a
Install Android NDK and gradle archives during setup.
Fixes broken `make release-android` step on new machines.

Signed-off-by: Pedro Pombeiro <pombeirp@users.noreply.github.com>
2018-07-11 18:33:34 +02:00
Aleksandr Pantiukhov 2b6ee450ae
[#4901]: Fix npm version issue
Signed-off-by: Aleksandr Pantiukhov <alwxndr@gmail.com>
2018-07-03 14:14:51 +02:00
E.Azer Koçulu d0dff14ea6
Creates umbrella commands for all Linux packages and adds support for Arch Linux' package manager pacman
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2018-02-09 17:41:36 +03:00
Oleh Krehel 534773b86a
scripts/lib/setup/output.sh: Fix broken link to react-native docs
DevelopmentSetupAndroid.md was removed from react-native docs around 2
years ago.

Signed-off-by: Oskar Thoren <ot@oskarthoren.com>
2018-02-05 23:01:28 +08:00
Julien Eluard b0a1aab033 Make sure setup script runs on linux 2017-12-21 10:34:02 +01:00
Julien Eluard 518f68f08f Added build scripts 2017-12-12 09:05:18 +01:00
David Balatero 2bd7652b5c Install all dependencies on Linux 2017-12-08 18:26:01 +01:00