Skip to content

Commit

Permalink
chore: improve pods-update command to not fail on non-mac machines
Browse files Browse the repository at this point in the history
  • Loading branch information
rolandkakonyi committed Sep 8, 2023
1 parent 9994cab commit e42ecca
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
"example": "yarn --cwd example",
"pods": "yarn pods-install || yarn pods-update",
"pods-install": "cd example && yarn pod-install",
"pods-update": "cd example/ios && bundle install && pod update --silent",
"pods-update": "! [[ \"$OSTYPE\" =~ ^darwin ]] && echo 'CocoaPods is only supported on darwin machines' || (cd example/ios && pod update --silent)",
"bootstrap": "yarn && yarn example && yarn pods",
"prepare": "husky install"
},
Expand Down

0 comments on commit e42ecca

Please sign in to comment.