mirror of
https://github.com/apple/swift-system
synced 2026-11-28 05:14:33 +00:00
By running this script, we can expand comments of the form ``` /*System 0.0.1*/ ``` Into either a longer comment that includes the associated OS versions numbers, ``` /*System 0.0.1, @available(macOS 11.0, iOS 14.0, watchOS 7.0, tvOS 14.0, *)*/ ``` or, when the `--attribute` option is used, into an actual `@available` attribute: ``` /*System 0.0.1*/@available(macOS 11.0, iOS 14.0, watchOS 7.0, tvOS 14.0, *) ``` The script can be run repeatedly to switch between these two forms, as needed.