Skip to content
This repository was archived by the owner on Oct 17, 2021. It is now read-only.

Commit 1e5e5ef

Browse files
committed
Bump version to 1.2.0
1 parent 539ec5e commit 1e5e5ef

2 files changed

Lines changed: 7 additions & 3 deletions

File tree

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ let package = Package(
101101
dependencies: [
102102
.package(
103103
url: "https://github.com/NSHipster/SwiftSyntaxHighlighter",
104-
from: "1.1.0"
104+
from: "1.2.0"
105105
),
106106
]
107107
)
@@ -115,7 +115,7 @@ To use `SwiftSyntaxHighlighter` in your Xcode project using Carthage,
115115
specify it in `Cartfile`:
116116

117117
```
118-
github "NSHipster/SwiftSyntaxHighlighter" ~> 1.1.0
118+
github "NSHipster/SwiftSyntaxHighlighter" ~> 1.2.0
119119
```
120120

121121
Then run the `carthage update` command to build the framework,

Sources/swift-highlight/main.swift

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,11 @@ var standardOutput = FileHandle.standardOutput
1313
var standardError = FileHandle.standardError
1414

1515
struct SwiftHighlight: ParsableCommand {
16+
static var configuration = CommandConfiguration(
17+
abstract: "A utility for syntax highlighting Swift code.",
18+
version: "1.2.0"
19+
)
20+
1621
enum Scheme: String, ExpressibleByArgument {
1722
case xcode
1823
case pygments
@@ -38,7 +43,6 @@ struct SwiftHighlight: ParsableCommand {
3843
var scheme: Scheme = .default
3944
}
4045

41-
static var configuration = CommandConfiguration(abstract: "A utility for syntax highlighting Swift code.")
4246

4347
@OptionGroup()
4448
var options: Options

0 commit comments

Comments
 (0)