Skip to content

Commit

Permalink
Add SPM support
Browse files Browse the repository at this point in the history
  • Loading branch information
mukesh-mt committed Jan 18, 2023
1 parent 123cc50 commit 5ede68e
Show file tree
Hide file tree
Showing 2 changed files with 30 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
# Xcode
#
build/
.build/
.swiftpm/
*.pbxuser
!default.pbxuser
*.mode1v3
Expand Down
28 changes: 28 additions & 0 deletions Package.swift
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
// swift-tools-version: 5.6
// The swift-tools-version declares the minimum version of Swift required to build this package.

import PackageDescription

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

0 comments on commit 5ede68e

Please sign in to comment.