Skip to content

Commit

Permalink
Merge pull request #261 from heyzooi/master
Browse files Browse the repository at this point in the history
update Package.swift to Swift 4
  • Loading branch information
DaveWoodCom authored Jun 20, 2018
2 parents 686e8df + 6c59d0c commit 64dce71
Showing 1 changed file with 30 additions and 5 deletions.
35 changes: 30 additions & 5 deletions Package.swift
Original file line number Diff line number Diff line change
@@ -1,9 +1,34 @@
// swift-tools-version:4.0
// The swift-tools-version declares the minimum version of Swift required to build this package.

import PackageDescription

let package = Package(
name: "XCGLogger",
targets: [
Target(name: "XCGLogger", dependencies: ["ObjcExceptionBridging"]),
Target(name: "ObjcExceptionBridging")
]
name: "XCGLogger",
products: [
// Products define the executables and libraries produced by a package, and make them visible to other packages.
.library(
name: "XCGLogger",
targets: ["XCGLogger"]),
.library(
name: "ObjcExceptionBridging",
targets: ["ObjcExceptionBridging"]),
],
dependencies: [
// Dependencies declare other packages that this package depends on.
// .package(url: /* package url */, from: "1.0.0"),
],
targets: [
// Targets are the basic building blocks of a package. A target can define a module or a test suite.
// Targets can depend on other targets in this package, and on products in packages which this package depends on.
.target(
name: "XCGLogger",
dependencies: ["ObjcExceptionBridging"]),
.testTarget(
name: "XCGLoggerTests",
dependencies: ["XCGLogger"]),
.target(
name: "ObjcExceptionBridging",
dependencies: []),
]
)

0 comments on commit 64dce71

Please sign in to comment.