File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ import PackageDescription
44
55// NOTE: needed for embedded customizations, ideally this will not be necessary at all in the future, or can be replaced with traits
66let shouldBuildForEmbedded = Context . environment [ " JAVASCRIPTKIT_EXPERIMENTAL_EMBEDDED_WASM " ] . flatMap ( Bool . init) ?? false
7- let useLegacyResourceBundling = shouldBuildForEmbedded || ( Context . environment [ " JAVASCRIPTKIT_USE_LEGACY_RESOURCE_BUNDLING " ] . flatMap ( Bool . init) ?? false )
7+ let useLegacyResourceBundling = Context . environment [ " JAVASCRIPTKIT_USE_LEGACY_RESOURCE_BUNDLING " ] . flatMap ( Bool . init) ?? false
88
99let package = Package (
1010 name: " JavaScriptKit " ,
@@ -19,8 +19,8 @@ let package = Package(
1919 . target(
2020 name: " JavaScriptKit " ,
2121 dependencies: [ " _CJavaScriptKit " ] ,
22- exclude: useLegacyResourceBundling ? [ " Runtime " ] : [ ] ,
23- resources: useLegacyResourceBundling ? [ ] : [ . copy( " Runtime " ) ] ,
22+ exclude: useLegacyResourceBundling ? [ ] : [ " Runtime " ] ,
23+ resources: useLegacyResourceBundling ? [ . copy( " Runtime " ) ] : [ ] ,
2424 cSettings: shouldBuildForEmbedded ? [
2525 . unsafeFlags( [ " -fdeclspec " ] )
2626 ] : nil ,
You can’t perform that action at this time.
0 commit comments