Skip to content

Commit d4a9696

Browse files
committed
Make Swift 5 version default Package.swift
Drops the Swift 3 variant. The Swift 4 variant is still kept, maybe working as a fallback. Updated the Travis configs to include Swift 5.
1 parent 12d013d commit d4a9696

File tree

3 files changed

+15
-22
lines changed

3 files changed

+15
-22
lines changed

.travis.yml

+10-2
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,18 @@ matrix:
1313
dist: trusty
1414
env: SWIFT_SNAPSHOT_NAME="https://swift.org/builds/swift-4.1-release/ubuntu1404/swift-4.1-RELEASE/swift-4.1-RELEASE-ubuntu14.04.tar.gz"
1515
sudo: required
16+
- os: Linux
17+
dist: trusty
18+
env: SWIFT_SNAPSHOT_NAME="https://swift.org/builds/swift-5.0.2-release/ubuntu1404/swift-5.0.2-RELEASE/swift-5.0.2-RELEASE-ubuntu14.04.tar.gz"
19+
sudo: required
20+
- os: Linux
21+
dist: xenial
22+
env: SWIFT_SNAPSHOT_NAME="https://swift.org/builds/swift-5.3.1-release/ubuntu1604/swift-5.3.1-RELEASE/swift-5.3.1-RELEASE-ubuntu16.04.tar.gz"
23+
sudo: required
1624
- os: osx
17-
osx_image: xcode9
25+
osx_image: xcode12
1826
- os: osx
19-
osx_image: xcode9.3
27+
osx_image: xcode11.4
2028

2129

2230
before_install:

Package.swift

+5-9
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,11 @@
1+
// swift-tools-version:5.0
12
import PackageDescription
23

34
let package = Package(
45
name: "jQuery",
5-
6-
targets: [ Target(name: "jQuery") ],
7-
8-
dependencies: [
6+
products: [
7+
.library(name: "jQuery", targets: ["jQuery"])
98
],
10-
11-
exclude: [
12-
"Makefile",
13-
"README.md"
14-
]
9+
dependencies: [],
10+
targets: [ .target(name: "jQuery") ]
1511
)

[email protected]

-11
This file was deleted.

0 commit comments

Comments
 (0)