Skip to content

Commit d71bcbf

Browse files
compnerdKyle-Ye
authored andcommitted
docc: indicate Windows as being supported
Allow list Windows execution. Without this change, we would fail to run the CLI tool.
1 parent eff7c33 commit d71bcbf

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Sources/docc/main.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,10 @@
88
See https://swift.org/CONTRIBUTORS.txt for Swift project authors
99
*/
1010

11-
#if os(macOS) || os(Linux) || os(Android)
11+
#if os(macOS) || os(Linux) || os(Android) || os(Windows)
1212
import SwiftDocCUtilities
1313

1414
Docc.main()
1515
#else
16-
fatalError("Command line interface supported only on macOS and Linux platforms.")
16+
fatalError("Command line interface supported only on macOS, Windows, and Linux platforms.")
1717
#endif

0 commit comments

Comments
 (0)