-
Notifications
You must be signed in to change notification settings - Fork 114
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #701 from shankari/minor_install_and_ci_fixes
Minor install and ci fixes
- Loading branch information
Showing
13 changed files
with
88 additions
and
34 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
# Setup the development environment | ||
source setup/activate_shared.sh | ||
|
||
echo "Adding cocoapods to the path" | ||
export PATH=$RUBY_PATH:$PATH | ||
|
||
echo "Verifying $ANDROID_HOME or $ANDROID_SDK_ROOT is set" | ||
if [ -z $ANDROID_HOME ] && [ -z $ANDROID_SDK_ROOT ]; | ||
then | ||
echo "ANDROID_HOME and ANDROID_SDK_ROOT not set, android SDK not found" | ||
fi | ||
|
||
echo "Activating sdkman, and by default, gradle" | ||
source "/Users/kshankar/.sdkman/bin/sdkman-init.sh" | ||
|
||
echo "Configuring the repo for building native code" | ||
./bin/configure_xml_and_json.js cordovabuild |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
source setup/activate_shared.sh | ||
|
||
echo "Configuring the repo for UI development" | ||
./bin/configure_xml_and_json.js serve |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
source setup/export_shared_dep_versions.sh | ||
|
||
echo "Activating nvm" | ||
|
||
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" # This loads nvm | ||
[ -s "$NVM_DIR/bash_completion" ] && \. "$NVM_DIR/bash_completion" # This loads nvm bash_completion | ||
|
||
echo "Using version $NODE_VERSION" | ||
nvm use $NODE_VERSION | ||
|
||
CURR_NPM_VERSION=`npm --version` | ||
echo "npm version = $CURR_NPM_VERSION" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
export NVM_VERSION=0.35.3 | ||
export NODE_VERSION=13.12.0 | ||
export NPM_VERSION=6.14.4 | ||
export RUBY_VERSION=2.6.0 | ||
export COCOAPODS_VERSION=1.9.1 | ||
export GRADLE_VERSION=4.10.3 | ||
|
||
export NVM_DIR="$HOME/.nvm" | ||
export RUBY_PATH=$HOME/.gem/ruby/$RUBY_VERSION/bin |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,11 @@ | ||
# error out if any command fails | ||
set -e | ||
|
||
COCOAPODS_VERSION=1.9.1 | ||
EXPECTED_PLUGIN_COUNT=15 | ||
|
||
# Setup the development environment | ||
source setup/setup_shared.sh | ||
|
||
echo "Installing cocoapods" | ||
export PATH=~/.gem/ruby/2.6.0/bin:$PATH | ||
export PATH=$RUBY_PATH:$PATH | ||
gem install --no-document --user-install cocoapods -v $COCOAPODS_VERSION | ||
|
||
source setup/setup_shared_native.sh |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters