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
* Add `swift.packageArguments` setting
Adds a new setting to provide arguments to swift commands that can
resolve packages. This applies to `swift package resolve`, `swift
package update`, `swift build` and `swift test`.
This lets users set package resolution specific flags that should be
used whenever resolution is performed, such as
`--replace-scm-with-registry`.
Issue: #1340
Copy file name to clipboardExpand all lines: package.json
+9-1
Original file line number
Diff line number
Diff line change
@@ -271,7 +271,15 @@
271
271
"items": {
272
272
"type": "string"
273
273
},
274
-
"markdownDescription": "Additional arguments to pass to `swift` commands such as `swift build`, `swift package`, `swift test`, etc... Keys and values should be provided as individual entries in the list. If you have created a copy of the build task in `tasks.json` then these build arguments will not be propagated to that task."
274
+
"markdownDescription": "Additional arguments to pass to `swift build` and `swift test`. Keys and values should be provided as individual entries in the list. If you have created a copy of the build task in `tasks.json` then these build arguments will not be propagated to that task."
275
+
},
276
+
"swift.packageArguments": {
277
+
"type": "array",
278
+
"default": [],
279
+
"items": {
280
+
"type": "string"
281
+
},
282
+
"markdownDescription": "Additional arguments to pass to swift commands that do package resolution, such as `swift package resolve`, `swift package update`, `swift build` and `swift test`. Keys and values should be provided as individual entries in the list."
0 commit comments