Skip to content

Commit

Permalink
Check for pods first, don't double up on yarn install(s) (#1730)
Browse files Browse the repository at this point in the history
  • Loading branch information
rickycodes authored Jul 31, 2020
1 parent fac2985 commit c36a700
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,10 @@
"watch": "./scripts/build.sh watcher watch",
"watch:clean": "./scripts/build.sh watcher clean",
"clean:ios": "rm -rf ios/build",
"pod:install": "command -v pod && (cd ios/ && pod install && cd ..) || echo \"pod command not found\"",
"clean:android": "rm -rf android/app/build",
"clean:node": "rm -rf node_modules && yarn install",
"clean": "yarn clean:ios && yarn clean:android && yarn clean:node && yarn install && (cd ios/ && pod install && cd ..)",
"clean": "yarn clean:ios && yarn clean:android && yarn clean:node && yarn pod:install",
"clean-android": "yarn clean:android && yarn clean:node",
"lint": "eslint '**/*.js' --ignore-path=.prettierignore",
"lint:fix": "eslint '**/*.js' --fix --ignore-path=.prettierignore",
Expand Down

0 comments on commit c36a700

Please sign in to comment.