@@ -12,17 +12,8 @@ let package = Package(
12
12
. executable( name: " generate-swift-syntax " , targets: [ " generate-swift-syntax " ] )
13
13
] ,
14
14
dependencies: [
15
- // This directory is a standalone package that uses swift-syntax from the
16
- // outer directory.
17
- // If you are making significant changs to `CodeGeneration` locally and want
18
- // to avoid breaking the build of `CodeGeneration` itself by generating new
19
- // files in the parent swift-syntax package, it is encouraged to change the
20
- // dependency to the following. That way `CodeGeneration` has its own
21
- // checkout of swift-syntax that is unaffected by the newly generated files.
22
- // Be sure to revert the change before committing your changes.
23
- //
24
- // .package(url: "https://github.com/apple/swift-syntax", branch: "main")
25
- . package ( path: " .. " )
15
+ . package ( url: " https://github.com/apple/swift-syntax " , from: " 509.0.0 " ) ,
16
+ . package ( url: " https://github.com/apple/swift-argument-parser.git " , from: " 1.2.2 " ) ,
26
17
] ,
27
18
targets: [
28
19
. executableTarget(
@@ -63,14 +54,3 @@ let package = Package(
63
54
) ,
64
55
]
65
56
)
66
-
67
- if ProcessInfo . processInfo. environment [ " SWIFTCI_USE_LOCAL_DEPS " ] == nil {
68
- // Building standalone.
69
- package . dependencies += [
70
- . package ( url: " https://github.com/apple/swift-argument-parser.git " , from: " 1.2.2 " )
71
- ]
72
- } else {
73
- package . dependencies += [
74
- . package ( path: " ../../swift-argument-parser " )
75
- ]
76
- }
0 commit comments