Skip to content

Commit

Permalink
Make it available as SPM package
Browse files Browse the repository at this point in the history
  • Loading branch information
TheJKM committed Sep 30, 2022
1 parent 79a092c commit 166698d
Show file tree
Hide file tree
Showing 28 changed files with 43 additions and 861 deletions.
495 changes: 0 additions & 495 deletions JKDesFireReader.xcodeproj/project.pbxproj

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

201 changes: 0 additions & 201 deletions LICENSE

This file was deleted.

14 changes: 14 additions & 0 deletions Package.resolved
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
{
"pins" : [
{
"identity" : "promisekit",
"kind" : "remoteSourceControl",
"location" : "https://github.com/mxcl/PromiseKit",
"state" : {
"revision" : "43772616c46a44a9977e41924ae01d0e55f2f9ca",
"version" : "6.18.1"
}
}
],
"version" : 2
}
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.7
// The swift-tools-version declares the minimum version of Swift required to build this package.

import PackageDescription

let package = Package(
name: "JKDesFireReader",
platforms: [
.iOS(.v13)
],
products: [
// Products define the executables and libraries a package produces, and make them visible to other packages.
.library(
name: "JKDesFireReader",
targets: ["JKDesFireReader"]),
],
dependencies: [
// Dependencies declare other packages that this package depends on.
.package(url: "https://github.com/mxcl/PromiseKit", from: "6.18.1"),
],
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: "JKDesFireReader",
dependencies: ["PromiseKit"]),
]
)
Loading

0 comments on commit 166698d

Please sign in to comment.