Skip to content

Commit

Permalink
Make swiftLanguageVersions for Swift >= 3.1
Browse files Browse the repository at this point in the history
  • Loading branch information
nvzqz committed Jun 7, 2017
1 parent 8a8e2de commit 5e2e32c
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions Package.swift
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,10 @@ let package = Package(
]
)

#if swift(>=3.2)
#if swift(>=3.1)
package.swiftLanguageVersions = [3, 4]
#else
#endif

#if !swift(>=3.2)
package.dependencies = [.Package(url: "https://github.com/nvzqz/ShiftOperations.git", majorVersion: 1)]
#endif

0 comments on commit 5e2e32c

Please sign in to comment.