Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
mxcl committed Feb 13, 2019
1 parent 65c2743 commit e81882f
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 5 deletions.
4 changes: 0 additions & 4 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,10 +47,6 @@ jobs:
language: generic
install: eval "$(curl -sL https://swiftenv.fuller.li/install.sh)"
script: swift build

- <<: *linux
env: SWIFT_VERSION='DEVELOPMENT-SNAPSHOT-2019-02-03-a'
name: Linux / Swift 5.0.0-dev (2019-02-03)

- stage: deploy
name: Jazzy
Expand Down
3 changes: 2 additions & 1 deletion Package.swift
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,8 @@ let pkg = Package(
],
targets: [
.target(name: "Version", path: "Sources"),
]
],
swiftLanguageVersions: [.v4, .v4_2]
)

#if !os(Linux)
Expand Down
17 changes: 17 additions & 0 deletions [email protected]
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
// swift-tools-version:5.0
import PackageDescription

let pkg = Package(
name: "Version",
products: [
.library(name: "Version", targets: ["Version"]),
],
targets: [
.target(name: "Version", path: "Sources"),
],
swiftLanguageVersions: [.v4, .v4_2, .v5]
)

#if !os(Linux)
pkg.targets.append(.testTarget(name: "Tests", dependencies: ["Version"], path: "Tests"))
#endif

0 comments on commit e81882f

Please sign in to comment.