Skip to content

Commit

Permalink
Release 1.0.101
Browse files Browse the repository at this point in the history
  • Loading branch information
predix-adoption-bot committed Sep 13, 2018
1 parent 51f4b4d commit 4e9c877
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 1 deletion.
12 changes: 12 additions & 0 deletions setup-mac.sh
Original file line number Diff line number Diff line change
Expand Up @@ -134,6 +134,7 @@ function install_everything() {
install[python3]=1
install[uaac]=0 # Install UAAC only if the --uaac flag is provided
install[jq]=1
install[yq]=1
install[predixcli]=1
install[mobilecli]=1
install[androidstudio]=0 # Install Android Studio only if --androidstudio flag is provided
Expand All @@ -152,6 +153,7 @@ function install_nothing() {
install[python3]=0
install[uaac]=0
install[jq]=0
install[yq]=0
install[predixcli]=0
install[mobilecli]=0
install[androidstudio]=0
Expand Down Expand Up @@ -241,6 +243,11 @@ function install_jq() {
jq --version
}

function install_yq() {
brew_install yq
yq --version
}

function install_uaac() {
# Install tools for managing ruby
brew_install rbenv
Expand Down Expand Up @@ -355,6 +362,7 @@ function run_setup() {
[ "$1" == "--python3" ] && install[python3]=1
[ "$1" == "--uaac" ] && install[uaac]=1
[ "$1" == "--jq" ] && install[jq]=1
[ "$1" == "--yq" ] && install[yq]=1
[ "$1" == "--predixcli" ] && install[predixcli]=1
[ "$1" == "--mobilecli" ] && install[mobilecli]=1
[ "$1" == "--androidstudio" ] && install[androidstudio]=1
Expand All @@ -373,6 +381,10 @@ function run_setup() {
install_jq
fi

if [ ${install[yq]} -eq 1 ]; then
install_yq
fi

if [ ${install[git]} -eq 1 ]; then
install_git
fi
Expand Down
2 changes: 1 addition & 1 deletion version.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "local setup",
"version": "1.0.100",
"version": "1.0.101",
"private": true,
"dependencies": {},
"author": "rishabhtulsian"
Expand Down

0 comments on commit 4e9c877

Please sign in to comment.