mirror of
https://github.com/status-im/status-react.git
synced 2025-01-10 02:56:07 +00:00
17a8d3a9c9
- 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>
45 lines
970 B
Bash
Executable File
45 lines
970 B
Bash
Executable File
#!/usr/bin/env bash
|
|
|
|
########################################################################
|
|
# This install script will setup your development dependencies on OS X
|
|
# or Ubuntu. Ubuntu 16.04 is the only tested version.
|
|
#
|
|
# Usage: scripts/setup
|
|
########################################################################
|
|
|
|
_current_dir=$(cd "${BASH_SOURCE%/*}" && pwd)
|
|
source "$_current_dir/lib/setup/path-support.sh"
|
|
|
|
source_lib "output.sh"
|
|
source_lib "packages.sh"
|
|
source_lib "platform.sh"
|
|
source_lib "installers.sh"
|
|
|
|
exit_unless_os_supported
|
|
|
|
load_nvm_if_available
|
|
load_rvm_if_available
|
|
|
|
####
|
|
setup_header "Installing requirements..."
|
|
|
|
install_and_setup_package_manager
|
|
install_wget
|
|
install_java8
|
|
install_clojure_cli
|
|
install_leiningen
|
|
install_node
|
|
install_watchman
|
|
install_react_native_cli
|
|
install_android_sdk
|
|
install_android_ndk
|
|
install_maven
|
|
install_cocoapods
|
|
|
|
####
|
|
echo && setup_header "Installing dependencies..."
|
|
|
|
dependency_setup make prepare-mobile
|
|
|
|
setup_complete
|