Skip to content

Commit 1a184ae

Browse files
authored
Remove dependency on argument-parser (#61)
See swiftlang/swift-markdown#149
1 parent 1d5aba8 commit 1a184ae

File tree

5 files changed

+33
-53
lines changed

5 files changed

+33
-53
lines changed

.gitignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
# See https://swift.org/CONTRIBUTORS.txt for Swift project authors
88

99
.DS_Store
10-
/.build
10+
.build
1111
/Packages
1212
/*.xcodeproj
1313
xcuserdata/

Package.swift

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,4 @@
1-
// swift-tools-version:5.2
2-
// In order to support users running on the latest Xcodes, please ensure that
3-
// [email protected] is kept in sync with this file.
1+
// swift-tools-version:5.5
42
/*
53
This source file is part of the Swift.org open source project
64

[email protected]

Lines changed: 0 additions & 49 deletions
This file was deleted.

Tools/Package.swift

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
// swift-tools-version:5.5
2+
/*
3+
This source file is part of the Swift.org open source project
4+
Copyright (c) 2023 Apple Inc. and the Swift project authors
5+
Licensed under Apache License v2.0 with Runtime Library Exception
6+
See https://swift.org/LICENSE.txt for license information
7+
See https://swift.org/CONTRIBUTORS.txt for Swift project authors
8+
*/
9+
10+
import PackageDescription
11+
12+
let package = Package(
13+
name: "Tools",
14+
products: [
15+
.executable(name: "dump-unified-graph", targets: ["dump-unified-graph"]),
16+
],
17+
dependencies: [
18+
.package(name: "SymbolKit", path: "../."),
19+
.package(url: "https://github.com/apple/swift-argument-parser", from: "1.2.2"),
20+
],
21+
targets: [
22+
.executableTarget(
23+
name: "dump-unified-graph",
24+
dependencies: [
25+
.product(name: "SymbolKit", package: "SymbolKit"),
26+
.product(name: "ArgumentParser", package: "swift-argument-parser")
27+
],
28+
path: "dump-unified-graph"
29+
),
30+
]
31+
)

0 commit comments

Comments
 (0)