1
- // swift-tools-version:5.2
1
+ // swift-tools-version:5.4
2
2
3
3
import PackageDescription
4
4
@@ -14,7 +14,7 @@ let package = Package(
14
14
. executable( name: " httpd-helloworld " , targets: [ " httpd-helloworld " ] ) ,
15
15
. executable( name: " connect-static " , targets: [ " connect-static " ] ) ,
16
16
. executable( name: " express-simple " , targets: [ " express-simple " ] ) ,
17
- . executable( name: " httpproxy " , targets: [ " httpproxy " ] ) ,
17
+ // .executable(name: "httpproxy", targets: [ "httpproxy" ]),
18
18
. executable( name: " servedocc " , targets: [ " servedocc " ] ) ,
19
19
. executable( name: " todomvc " , targets: [ " todomvc " ] ) ,
20
20
. executable( name : " express-simple-lambda " ,
@@ -25,24 +25,38 @@ let package = Package(
25
25
// A lot of packages for demonstration purposes, only add what you
26
26
// actually need in your own project.
27
27
. package ( url: " https://github.com/Macro-swift/Macro.git " ,
28
- from: " 0.8.11 " ) ,
28
+ from: " 0.9.0 " ) ,
29
29
. package ( url: " https://github.com/Macro-swift/MacroExpress.git " ,
30
- from: " 0.8.8 " ) ,
30
+ from: " 0.9.0 " ) ,
31
31
. package ( url: " https://github.com/Macro-swift/MacroLambda.git " ,
32
32
from: " 0.4.1 " ) ,
33
33
. package ( url: " https://github.com/AlwaysRightInstitute/cows " ,
34
- from: " 1.0.7 " )
34
+ from: " 1.0.10 " )
35
35
] ,
36
36
37
37
targets: [
38
- . target( name: " httpd-helloworld " , dependencies: [ " Macro " ] ) ,
39
- . target( name: " httpproxy " , dependencies: [ " Macro " ] ) ,
40
- . target( name: " connect-static " , dependencies: [ " MacroExpress " ] ) ,
41
- . target( name: " express-simple " , dependencies: [ " MacroExpress " , " cows " ] ) ,
42
- . target( name: " servedocc " , dependencies: [ " MacroExpress " ] ) ,
43
- . target( name: " todomvc " , dependencies: [ " MacroExpress " ] ) ,
38
+ . executableTarget( name: " httpd-helloworld " ,
39
+ dependencies: [ " Macro " ] ,
40
+ exclude: [ " README.md " ] ) ,
41
+ // .target(name: "httpproxy", dependencies: [ "Macro" ]),
42
+ . executableTarget( name: " connect-static " ,
43
+ dependencies: [ " MacroExpress " ] ,
44
+ exclude: [ " README.md " ] ,
45
+ resources: [ . copy( " public " ) ] ) ,
46
+ . executableTarget( name: " express-simple " ,
47
+ dependencies: [ " MacroExpress " , " cows " ] ,
48
+ resources: [ . copy( " public " ) , . copy( " views " ) ] ) ,
49
+ . executableTarget( name: " servedocc " ,
50
+ dependencies: [ " MacroExpress " ] ,
51
+ exclude: [ " README.md " ] ) ,
52
+ . executableTarget( name: " todomvc " ,
53
+ dependencies: [ " MacroExpress " ] ,
54
+ exclude: [ " README.md " ] ,
55
+ resources: [ . copy( " public " ) ] ) ,
44
56
45
- . target( name: " express-simple-lambda " ,
46
- dependencies: [ " MacroLambda " , " cows " ] )
57
+ . executableTarget( name: " express-simple-lambda " ,
58
+ dependencies: [ " MacroLambda " , " cows " ] ,
59
+ exclude: [ " README.md " ] ,
60
+ resources: [ . copy( " public " ) , . copy( " views " ) ] )
47
61
]
48
62
)
0 commit comments