Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 3fa6555

Browse files
PackageToJS: Inherit swift package -c configuration by default
#309 introduced `-c` option to the plugin side in addition to the `swift package`'s one. However `swift package -c release js` was building with release config before 0.25.0 but it started to build with debug config as the default in 0.25.0. This change makes the plugin to respect the `swift package`'s one if `-c` is not specified after `js` plugin name
1 parent c0ddc7d commit 3fa6555

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎Plugins/PackageToJS/Sources/PackageToJSPlugin.swift‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -323,7 +323,7 @@ struct PackageToJSPlugin: CommandPlugin {
323323
}
324324
buildConfiguration = _buildConfiguration
325325
} else {
326-
buildConfiguration = .debug
326+
buildConfiguration = .inherit
327327
}
328328
var parameters = PackageManager.BuildParameters(
329329
configuration: buildConfiguration,

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /