Skip to content

Commit

Permalink
Merge branch 'develop'
Browse files Browse the repository at this point in the history
  • Loading branch information
helje5 committed Aug 23, 2022
2 parents 7bea970 + af15156 commit 68828b8
Show file tree
Hide file tree
Showing 3 changed files with 29 additions and 16 deletions.
4 changes: 1 addition & 3 deletions .github/workflows/swift.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,8 @@ jobs:
fail-fast: false
matrix:
image:
- swift:5.2.5-xenial
- swift:5.3.2-xenial
- swift:5.3.2-bionic
- swift:5.5.0-focal
- swift:5.6.1-bionic
container: ${{ matrix.image }}
steps:
- name: Checkout Repository
Expand Down
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -94,4 +94,5 @@ Package.resolved
xcuserdata
.docker.build
.swiftpm
.vscode

40 changes: 27 additions & 13 deletions Package.swift
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// swift-tools-version:5.2
// swift-tools-version:5.4

import PackageDescription

Expand All @@ -14,7 +14,7 @@ let package = Package(
.executable(name: "httpd-helloworld", targets: [ "httpd-helloworld" ]),
.executable(name: "connect-static", targets: [ "connect-static" ]),
.executable(name: "express-simple", targets: [ "express-simple" ]),
.executable(name: "httpproxy", targets: [ "httpproxy" ]),
//.executable(name: "httpproxy", targets: [ "httpproxy" ]),
.executable(name: "servedocc", targets: [ "servedocc" ]),
.executable(name: "todomvc", targets: [ "todomvc" ]),
.executable(name : "express-simple-lambda",
Expand All @@ -25,24 +25,38 @@ let package = Package(
// A lot of packages for demonstration purposes, only add what you
// actually need in your own project.
.package(url: "https://github.com/Macro-swift/Macro.git",
from: "0.8.11"),
from: "0.9.0"),
.package(url: "https://github.com/Macro-swift/MacroExpress.git",
from: "0.8.8"),
from: "0.9.0"),
.package(url: "https://github.com/Macro-swift/MacroLambda.git",
from: "0.4.1"),
.package(url: "https://github.com/AlwaysRightInstitute/cows",
from: "1.0.7")
from: "1.0.10")
],

targets: [
.target(name: "httpd-helloworld", dependencies: [ "Macro" ]),
.target(name: "httpproxy", dependencies: [ "Macro" ]),
.target(name: "connect-static", dependencies: [ "MacroExpress" ]),
.target(name: "express-simple", dependencies: [ "MacroExpress", "cows" ]),
.target(name: "servedocc", dependencies: [ "MacroExpress" ]),
.target(name: "todomvc", dependencies: [ "MacroExpress" ]),
.executableTarget(name: "httpd-helloworld",
dependencies: [ "Macro" ],
exclude: [ "README.md" ]),
// .target(name: "httpproxy", dependencies: [ "Macro" ]),
.executableTarget(name: "connect-static",
dependencies: [ "MacroExpress" ],
exclude: [ "README.md" ],
resources: [ .copy("public") ]),
.executableTarget(name: "express-simple",
dependencies: [ "MacroExpress", "cows" ],
resources: [ .copy("public"), .copy("views") ]),
.executableTarget(name: "servedocc",
dependencies: [ "MacroExpress" ],
exclude: [ "README.md" ]),
.executableTarget(name: "todomvc",
dependencies: [ "MacroExpress" ],
exclude: [ "README.md" ],
resources: [ .copy("public") ]),

.target(name: "express-simple-lambda",
dependencies: [ "MacroLambda", "cows" ])
.executableTarget(name: "express-simple-lambda",
dependencies: [ "MacroLambda", "cows" ],
exclude: [ "README.md" ],
resources: [ .copy("public"), .copy("views") ])
]
)

0 comments on commit 68828b8

Please sign in to comment.