Skip to content

Commit

Permalink
Upgrade project to Swift 4
Browse files Browse the repository at this point in the history
  • Loading branch information
0xTim committed Sep 27, 2017
1 parent e48de34 commit 4ee52ec
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 133 deletions.
120 changes: 0 additions & 120 deletions Package.pins

This file was deleted.

29 changes: 16 additions & 13 deletions Package.swift
Original file line number Diff line number Diff line change
@@ -1,21 +1,24 @@
// swift-tools-version:4.0

import PackageDescription

let package = Package(
name: "reminders",
targets: [
Target(name: "App"),
Target(name: "Run", dependencies: ["App"]),
name: "Reminders",
products: [
.library(name: "App", targets: ["App"]),
.executable(name: "Run", targets: ["Run"])
],
dependencies: [
.Package(url: "https://github.com/vapor/vapor.git", majorVersion: 2),
.Package(url: "https://github.com/vapor/fluent-provider.git", majorVersion: 1)
.package(url: "https://github.com/vapor/vapor.git", .upToNextMajor(from: "2.1.0")),
.package(url: "https://github.com/vapor/fluent-provider.git", .upToNextMajor(from: "1.0.0")),
],
exclude: [
"Config",
"Database",
"Localization",
"Public",
"Resources",
targets: [
.target(name: "App", dependencies: ["Vapor", "FluentProvider"],
exclude: [
"Config",
"Public",
"Resources",
]),
.target(name: "Run", dependencies: ["App"])
]
)

0 comments on commit 4ee52ec

Please sign in to comment.