You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+4-4Lines changed: 4 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -162,7 +162,7 @@ In code:
162
162
#!/bin/bash
163
163
rome download --platform iOS # download missing frameworks (or copy from local cache)
164
164
carthage bootstrap --platform iOS --cache-builds # build dependencies missing a .version file or that where not found in the cache
165
-
rome list --missing --platform iOS | awk '{print $1}'| xargs rome upload --platform iOS # upload what is missing
165
+
rome list --missing --platform iOS | awk '{print $1}'| xargs -I {} rome upload"{}" --platform iOS # upload what is missing
166
166
```
167
167
168
168
#### List workflow
@@ -175,8 +175,8 @@ In code:
175
175
```sh
176
176
#!/bin/bash
177
177
rome download --platform iOS # download missing frameworks (or copy from local cache)
178
-
rome list --missing --platform iOS | awk '{print $1}'| xargs carthage bootstrap --platform iOS --cache-builds # list what is missing and update/build if needed
179
-
rome list --missing --platform iOS | awk '{print $1}'| xargs rome upload --platform iOS # upload what is missing
178
+
rome list --missing --platform iOS | awk '{print $1}'| xargs -I {} carthage bootstrap"{}" --platform iOS --cache-builds # list what is missing and update/build if needed
179
+
rome list --missing --platform iOS | awk '{print $1}'| xargs -I {} rome upload"{}" --platform iOS # upload what is missing
180
180
```
181
181
182
182
If no frameworks are missing, the `awk` pipe to `carthage` will fail and the rest of the command will not be executed. This avoids rebuilding all dependencies or uploading artifacts already present in the cache.
0 commit comments