@@ -12,17 +12,8 @@ let package = Package(
1212 . executable( name: " generate-swift-syntax " , targets: [ " generate-swift-syntax " ] )
1313 ] ,
1414 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 " ) ,
2617 ] ,
2718 targets: [
2819 . executableTarget(
@@ -63,14 +54,3 @@ let package = Package(
6354 ) ,
6455 ]
6556)
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