Skip to content

Commit

Permalink
Remove dependency on argument-parser
Browse files Browse the repository at this point in the history
  • Loading branch information
Kyle-Ye committed Sep 25, 2023
1 parent 1d5aba8 commit 35b15ff
Show file tree
Hide file tree
Showing 5 changed files with 33 additions and 52 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -15,3 +15,4 @@ SymbolGraph.symbols.json
.swiftpm
Package.resolved
.vscode
/Tools/.build
4 changes: 1 addition & 3 deletions Package.swift
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
// swift-tools-version:5.2
// In order to support users running on the latest Xcodes, please ensure that
// [email protected] is kept in sync with this file.
// swift-tools-version:5.5
/*
This source file is part of the Swift.org open source project

Expand Down
49 changes: 0 additions & 49 deletions [email protected]

This file was deleted.

31 changes: 31 additions & 0 deletions Tools/Package.swift
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
// swift-tools-version:5.5
/*
This source file is part of the Swift.org open source project
Copyright (c) 2023 Apple Inc. and the Swift project authors
Licensed under Apache License v2.0 with Runtime Library Exception
See https://swift.org/LICENSE.txt for license information
See https://swift.org/CONTRIBUTORS.txt for Swift project authors
*/

import PackageDescription

let package = Package(
name: "Tools",
products: [
.executable(name: "dump-unified-graph", targets: ["dump-unified-graph"]),
],
dependencies: [
.package(name: "SymbolKit", path: "../."),
.package(url: "https://github.com/apple/swift-argument-parser", from: "1.2.2"),
],
targets: [
.executableTarget(
name: "dump-unified-graph",
dependencies: [
.product(name: "SymbolKit", package: "SymbolKit"),
.product(name: "ArgumentParser", package: "swift-argument-parser")
],
path: "dump-unified-graph"
),
]
)

0 comments on commit 35b15ff

Please sign in to comment.