Skip to content

Commit

Permalink
Downgrade swift-tools-version to 5.0
Browse files Browse the repository at this point in the history
  • Loading branch information
raxityo committed Sep 18, 2020
1 parent df9c20a commit 47d7744
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 23 deletions.
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,5 @@ profile
*.moved-aside
DerivedData
.idea/
*.hmap
*.hmap
.swiftpm
44 changes: 22 additions & 22 deletions Package.swift
Original file line number Diff line number Diff line change
@@ -1,28 +1,28 @@
// swift-tools-version:5.3
// swift-tools-version:5.0
// The swift-tools-version declares the minimum version of Swift required to build this package.

import PackageDescription

let package = Package(
name: "HMSegmentedControl",
products: [
// Products define the executables and libraries a package produces, and make them visible to other packages.
.library(
name: "HMSegmentedControl",
targets: ["HMSegmentedControl"]
),
],
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 this package depends on.
.target(
name: "HMSegmentedControl",
path: "HMSegmentedControl",
publicHeadersPath: ""
),
]
name: "HMSegmentedControl",
products: [
// Products define the executables and libraries a package produces, and make them visible to other packages.
.library(
name: "HMSegmentedControl",
targets: ["HMSegmentedControl"]
),
],
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 this package depends on.
.target(
name: "HMSegmentedControl",
path: "HMSegmentedControl",
publicHeadersPath: ""
),
]
)

0 comments on commit 47d7744

Please sign in to comment.