Skip to content
Permalink
Browse files

Updated SwiftPM Package for Swift 5 (#716)

* Updated SwiftPM package

For Swift 5

* Updated CI

* Updated CI
  • Loading branch information...
colemancda authored and krzyzanowskim committed Apr 15, 2019
1 parent 05bee04 commit 8757f2407eb9409ac62be09ff267f5aee79443e4
Showing with 52 additions and 8 deletions.
  1. +12 −6 .travis.yml
  2. +4 −2 Package.swift
  3. +18 −0 Package@swift-4.2.swift
  4. +18 −0 Package@swift-5.swift
@@ -1,10 +1,16 @@
os:
- linux
- osx
language: generic
sudo: required
dist: trusty
osx_image: xcode10
matrix:
include:
# Test Ubuntu Linux 14.04 / Swift 4.1.2
- os: linux
dist: trusty
sudo: required
# Test Xcode 10 / Swift 4.2
- os: osx
osx_image: xcode10
# Test Xcode 10.2 / Swift 5
- os: osx
osx_image: xcode10.2
install:
- eval "$(curl -sL https://swiftenv.fuller.li/install.sh)"
script:
@@ -1,4 +1,4 @@
// swift-tools-version:4.2
// swift-tools-version:4.1
import PackageDescription

@@ -13,4 +13,6 @@ let package = Package(
.target(name: "CryptoSwift"),
.testTarget(name: "Tests", dependencies: ["CryptoSwift"]),
.testTarget(name: "TestsPerformance", dependencies: ["CryptoSwift"]),
])
],
swiftLanguageVersions: [4]
)
@@ -0,0 +1,18 @@
// swift-tools-version:4.2
import PackageDescription

let package = Package(
name: "CryptoSwift",
products: [
.library(
name: "CryptoSwift",
targets: ["CryptoSwift"])
],
targets: [
.target(name: "CryptoSwift"),
.testTarget(name: "Tests", dependencies: ["CryptoSwift"]),
.testTarget(name: "TestsPerformance", dependencies: ["CryptoSwift"]),
],
swiftLanguageVersions: [.v4, .v4_2]
)
@@ -0,0 +1,18 @@
// swift-tools-version:5.0
import PackageDescription

let package = Package(
name: "CryptoSwift",
products: [
.library(
name: "CryptoSwift",
targets: ["CryptoSwift"])
],
targets: [
.target(name: "CryptoSwift"),
.testTarget(name: "Tests", dependencies: ["CryptoSwift"]),
.testTarget(name: "TestsPerformance", dependencies: ["CryptoSwift"]),
],
swiftLanguageVersions: [.v5]
)

0 comments on commit 8757f24

Please sign in to comment.
You can’t perform that action at this time.