Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F3354242
D3712.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
1 KB
Referenced Files
None
Subscribers
None
D3712.diff
View Options
diff --git a/native/package.json b/native/package.json
--- a/native/package.json
+++ b/native/package.json
@@ -5,10 +5,10 @@
"license": "BSD-3-Clause",
"scripts": {
"clean": "yarn clean-android && yarn clean-ios && rm -rf node_modules/",
- "clean-android": "cd android && rm -rf build app/build app/.cxx",
+ "clean-android": "rm -rf android/build android/app/build android/app/.cxx",
"clean-ios": "rm -rf ios/Pods/",
"clean-all": "yarn clean && rm -rf ~/Library/Developer/Xcode/DerivedData/Comm-*; cd android && (./gradlew clean || true)",
- "postinstall": "cd ../ && echo '{\"name\": \"olm\", \"version\": \"3.2.4\"}' > ./node_modules/olm/package.json && yarn patch-package && yarn flow-mono create-symlinks native && cd native && yarn jetify && npx pod-patch && cd ios && (pod install || true)",
+ "postinstall": "cd ../ && echo '{\"name\": \"olm\", \"version\": \"3.2.4\"}' > ./node_modules/olm/package.json && yarn patch-package && yarn flow-mono create-symlinks native && cd native && yarn jetify && npx pod-patch && ((cd ios && pod install) || true)",
"start": "yarn react-native start",
"dev": "yarn concurrently --names=\"REDUX,METRO\" -c \"bgGreen.bold,bgBlue.bold\" \"yarn redux-devtools\" \"yarn start\"",
"test": "yarn jest",
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sun, Nov 24, 12:30 PM (22 h, 18 s)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2575576
Default Alt Text
D3712.diff (1 KB)
Attached To
Mode
D3712: [native] Don't crash yarn cleaninstall if ios/android folders are missing
Attached
Detach File
Event Timeline
Log In to Comment