Skip to content

Instantly share code, notes, and snippets.

@FromAtom
Created September 20, 2018 04:38
Show Gist options
  • Save FromAtom/e00a34686a4549d5785dd577c4f7a954 to your computer and use it in GitHub Desktop.
Save FromAtom/e00a34686a4549d5785dd577c4f7a954 to your computer and use it in GitHub Desktop.
// swift-tools-version:4.2
// The swift-tools-version declares the minimum version of Swift required to build this package.
import PackageDescription
let package = Package(
name: "SwiftCommandSample",
dependencies: [
// Dependencies declare other packages that this package depends on.
.package(url: "https://github.com/ishkawa/APIKit.git", from: "4.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: "SwiftCommandSample",
dependencies: ["APIKit"]), // ここに APIKit を追加するのを忘れないこと
.testTarget(
name: "SwiftCommandSampleTests",
dependencies: ["SwiftCommandSample"]),
]
)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment