Skip to content

Commit

Permalink
Updated SPM swift tools to 4.0
Browse files Browse the repository at this point in the history
  • Loading branch information
OrkhanAlikhanov committed May 26, 2018
1 parent cc88e68 commit d9e589e
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 5 deletions.
6 changes: 3 additions & 3 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,21 +14,21 @@ matrix:
script: env LD_LIBRARY_PATH='/usr/local/lib:/usr/local/opt/libressl/lib:$LD_LIBRARY_PATH' swift test

- os: osx
osx_image: xcode9
osx_image: xcode9.3
dist: trusty
sudo: required
env: ACTION=test PLATFORM=Mac DESTINATION='platform=OS X'
script: set -o pipefail && xcodebuild -scheme SocketSwift -destination "$DESTINATION" $ACTION | xcpretty

- os: osx
osx_image: xcode9
osx_image: xcode9.3
dist: trusty
sudo: required
env: ACTION=test PLATFORM=iOS DESTINATION='platform=iOS Simulator,name=iPhone 6S'
script: set -o pipefail && xcodebuild -scheme SocketSwift -destination "$DESTINATION" $ACTION | xcpretty

- os: osx
osx_image: xcode9
osx_image: xcode9.3
dist: trusty
sudo: required
env: ACTION=test PLATFORM=tvOS DESTINATION='platform=tvOS Simulator,name=Apple TV 1080p'
Expand Down
17 changes: 16 additions & 1 deletion Package.swift
Original file line number Diff line number Diff line change
@@ -1,8 +1,23 @@
// swift-tools-version:4.0

import PackageDescription

let package = Package(
name: "SocketSwift",
products: [
.library(
name: "SocketSwift",
targets: ["SocketSwift"]),
],
dependencies: [
.Package(url: "https://github.com/Zewo/CLibreSSL.git", majorVersion: 3, minor: 1),
.package(url: "https://github.com/Zewo/CLibreSSL.git", from: "3.1.0"),
],
targets: [
.target(
name: "SocketSwift",
path: "Sources"),
.testTarget(
name: "SocketSwiftTests",
dependencies: ["SocketSwift"]),
]
)
2 changes: 1 addition & 1 deletion Socket.swift.podspec
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Pod::Spec.new do |s|
s.name = 'Socket.swift'
s.version = '2.2.0'
s.version = '2.2.1'
s.summary = 'A POSIX socket wrapper written in swift.'
s.homepage = 'https://github.com/BiAtoms/Socket.swift'
s.license = { :type => 'MIT', :file => 'LICENSE' }
Expand Down

0 comments on commit d9e589e

Please sign in to comment.