From fb4119f263a3482d817c634a98e84e81084e8159 Mon Sep 17 00:00:00 2001 From: pruthvikar Date: Thu, 18 May 2017 00:11:23 +0200 Subject: [PATCH] Update Package.swift (#41) Update Package.swift to use Vapor 2 release dependencies --- Package.swift | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/Package.swift b/Package.swift index fa711cc..a08a3e4 100644 --- a/Package.swift +++ b/Package.swift @@ -1,17 +1,15 @@ import PackageDescription -let beta = Version(2,0,0, prereleaseIdentifiers: ["beta"]) - let package = Package( name: "PostgreSQL", dependencies: [ // Module map for `libpq` - .Package(url: "https://github.com/vapor-community/cpostgresql.git", beta), + .Package(url: "https://github.com/vapor-community/cpostgresql.git", majorVersion: 2), // Data structure for converting between multiple representations - .Package(url: "https://github.com/vapor/node.git", beta), + .Package(url: "https://github.com/vapor/node.git", majorVersion: 2), // Core extensions, type-aliases, and functions that facilitate common tasks - .Package(url: "https://github.com/vapor/core.git", beta), + .Package(url: "https://github.com/vapor/core.git", majorVersion: 2) ] )