Skip to content

Commit c27c163

Browse files
aburgeljoaomoreno
andauthored
Add swift to supported darwin document types (microsoft#159002)
* Add swift to supported darwin document types * add compilation output Co-authored-by: João Moreno <[email protected]>
1 parent fc54e0f commit c27c163

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

build/lib/electron.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -152,6 +152,7 @@ exports.config = {
152152
'F# script': ['fsx', 'fsscript'],
153153
'SVG document': ['svg', 'svgz'],
154154
'TOML document': 'toml',
155+
'Swift source code': 'swift',
155156
}, 'default'),
156157
// Default icon with default name
157158
darwinBundleDocumentType([

build/lib/electron.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -167,6 +167,7 @@ export const config = {
167167
'F# script': ['fsx', 'fsscript'],
168168
'SVG document': ['svg', 'svgz'],
169169
'TOML document': 'toml',
170+
'Swift source code': 'swift',
170171
}, 'default'),
171172
// Default icon with default name
172173
darwinBundleDocumentType([

0 commit comments

Comments
 (0)