Skip to content

Commit 4e9c877

Browse files
Release 1.0.101
1 parent 51f4b4d commit 4e9c877

File tree

2 files changed

+13
-1
lines changed

2 files changed

+13
-1
lines changed

setup-mac.sh

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -134,6 +134,7 @@ function install_everything() {
134134
install[python3]=1
135135
install[uaac]=0 # Install UAAC only if the --uaac flag is provided
136136
install[jq]=1
137+
install[yq]=1
137138
install[predixcli]=1
138139
install[mobilecli]=1
139140
install[androidstudio]=0 # Install Android Studio only if --androidstudio flag is provided
@@ -152,6 +153,7 @@ function install_nothing() {
152153
install[python3]=0
153154
install[uaac]=0
154155
install[jq]=0
156+
install[yq]=0
155157
install[predixcli]=0
156158
install[mobilecli]=0
157159
install[androidstudio]=0
@@ -241,6 +243,11 @@ function install_jq() {
241243
jq --version
242244
}
243245

246+
function install_yq() {
247+
brew_install yq
248+
yq --version
249+
}
250+
244251
function install_uaac() {
245252
# Install tools for managing ruby
246253
brew_install rbenv
@@ -355,6 +362,7 @@ function run_setup() {
355362
[ "$1" == "--python3" ] && install[python3]=1
356363
[ "$1" == "--uaac" ] && install[uaac]=1
357364
[ "$1" == "--jq" ] && install[jq]=1
365+
[ "$1" == "--yq" ] && install[yq]=1
358366
[ "$1" == "--predixcli" ] && install[predixcli]=1
359367
[ "$1" == "--mobilecli" ] && install[mobilecli]=1
360368
[ "$1" == "--androidstudio" ] && install[androidstudio]=1
@@ -373,6 +381,10 @@ function run_setup() {
373381
install_jq
374382
fi
375383

384+
if [ ${install[yq]} -eq 1 ]; then
385+
install_yq
386+
fi
387+
376388
if [ ${install[git]} -eq 1 ]; then
377389
install_git
378390
fi

version.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "local setup",
3-
"version": "1.0.100",
3+
"version": "1.0.101",
44
"private": true,
55
"dependencies": {},
66
"author": "rishabhtulsian"

0 commit comments

Comments
 (0)