Skip to content

Commit

Permalink
Awesome upgrade to Vapor4 πŸš€
Browse files Browse the repository at this point in the history
Closes #1, #2
  • Loading branch information
MihaelIsaev committed Jan 20, 2020
1 parent 7448a4f commit 05e8517
Show file tree
Hide file tree
Showing 61 changed files with 1,827 additions and 1,141 deletions.
25 changes: 9 additions & 16 deletions Package.swift
Original file line number Diff line number Diff line change
@@ -1,28 +1,21 @@
// swift-tools-version:4.2
// The swift-tools-version declares the minimum version of Swift required to build this package.
// swift-tools-version:5.1

import PackageDescription

let package = Package(
name: "WS",
platforms: [
.macOS(.v10_15)
],
products: [
// Products define the executables and libraries produced by a package, and make them visible to other packages.
.library(
name: "WS",
targets: ["WS"]),
.library(name: "WS", targets: ["WS"]),
],
dependencies: [
// πŸ’§ A server-side Swift web framework.
.package(url: "https://github.com/vapor/vapor.git", from: "3.0.0"),
.package(url: "https://github.com/vapor/vapor.git", from: "4.0.0-beta.2"),
.package(url: "https://github.com/vapor/websocket-kit.git", from: "2.0.0-beta.2")
],
targets: [
// Targets are the basic building blocks of a package. A target can define a module or a test suite.
// Targets can depend on other targets in this package, and on products in packages which this package depends on.
.target(
name: "WS",
dependencies: ["Vapor"]),
.testTarget(
name: "WSTests",
dependencies: ["WS", "Vapor"]),
.target(name: "WS", dependencies: ["Vapor", "WebSocketKit"]),
.testTarget(name: "WSTests", dependencies: ["WS", "WebSocketKit"]),
]
)
Loading

0 comments on commit 05e8517

Please sign in to comment.