Skip to content

Commit 67aad51

Browse files
committed
Set a default value to the group param for a macro target
1 parent 82b08e1 commit 67aad51

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Sources/CompilerPluginSupport/TargetExtensions.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ public extension Target {
1616
@available(_PackageDescription, introduced: 999.0)
1717
static func macro(
1818
name: String,
19-
group: TargetGroup,
19+
group: TargetGroup = .package,
2020
dependencies: [Dependency] = [],
2121
path: String? = nil,
2222
exclude: [String] = [],

0 commit comments

Comments
 (0)