File tree Expand file tree Collapse file tree 2 files changed +17
-17
lines changed Expand file tree Collapse file tree 2 files changed +17
-17
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -4,15 +4,29 @@ import PackageDescription
4
4
5
5
let package = Package (
6
6
name: " ASTGen " ,
7
+ platforms: [
8
+ . macOS( . v10_15)
9
+ ] ,
7
10
products: [
8
- . library( name: " ASTGen " , targets: [ " ASTGen " ] ) ,
11
+ . library( name: " swiftASTGen " , targets: [ " swiftASTGen " ] ) ,
9
12
] ,
10
13
dependencies: [
11
14
. package ( path: " ../../../swift-syntax " ) ,
12
15
] ,
13
16
targets: [
14
17
. target(
15
- name: " ASTGen " ,
16
- dependencies: [ " SwiftSyntax " ] ) ,
18
+ name: " swiftASTGen " ,
19
+ dependencies: [
20
+ . product( name: " SwiftSyntax " , package : " swift-syntax " ) ,
21
+ . product( name: " SwiftParser " , package : " swift-syntax " )
22
+ ] ,
23
+ path: " . " ,
24
+ exclude: [ " CMakeLists.txt " ] ,
25
+ swiftSettings: [
26
+ . unsafeFlags( [
27
+ " -I " , " ../../include/swift/ " ,
28
+ " -I " , " ../../include "
29
+ ] )
30
+ ] ) ,
17
31
]
18
32
)
You can’t perform that action at this time.
0 commit comments