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

Commit

Permalink
Bump version to 1.2.0
Browse files Browse the repository at this point in the history
  • Loading branch information
mattt committed Dec 21, 2020
1 parent 539ec5e commit 1e5e5ef
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ let package = Package(
dependencies: [
.package(
url: "https://github.com/NSHipster/SwiftSyntaxHighlighter",
from: "1.1.0"
from: "1.2.0"
),
]
)
Expand All @@ -115,7 +115,7 @@ To use `SwiftSyntaxHighlighter` in your Xcode project using Carthage,
specify it in `Cartfile`:

```
github "NSHipster/SwiftSyntaxHighlighter" ~> 1.1.0
github "NSHipster/SwiftSyntaxHighlighter" ~> 1.2.0
```

Then run the `carthage update` command to build the framework,
Expand Down
6 changes: 5 additions & 1 deletion Sources/swift-highlight/main.swift
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,11 @@ var standardOutput = FileHandle.standardOutput
var standardError = FileHandle.standardError

struct SwiftHighlight: ParsableCommand {
static var configuration = CommandConfiguration(
abstract: "A utility for syntax highlighting Swift code.",
version: "1.2.0"
)

enum Scheme: String, ExpressibleByArgument {
case xcode
case pygments
Expand All @@ -38,7 +43,6 @@ struct SwiftHighlight: ParsableCommand {
var scheme: Scheme = .default
}

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

@OptionGroup()
var options: Options
Expand Down

0 comments on commit 1e5e5ef

Please sign in to comment.