Skip to content

Commit

Permalink
Create Package
Browse files Browse the repository at this point in the history
  • Loading branch information
fireantprincess committed Mar 5, 2022
1 parent 01d2d02 commit 89c79fc
Show file tree
Hide file tree
Showing 7 changed files with 1,205 additions and 1 deletion.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -88,3 +88,4 @@ fastlane/test_output
# https://github.com/johnno1962/injectionforxcode

iOSInjectionProject/
.DS_Store
7 changes: 7 additions & 0 deletions .swiftpm/xcode/package.xcworkspace/contents.xcworkspacedata

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

32 changes: 32 additions & 0 deletions Package.swift
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
// swift-tools-version:5.5
// The swift-tools-version declares the minimum version of Swift required to build this package.

import PackageDescription

let package = Package(
name: "DateOperations",
platforms: [
.macOS(.v11),
.iOS(.v14),
],
products: [
// Products define the executables and libraries a package produces, and make them visible to other packages.
.library(
name: "DateOperations",
targets: ["DateOperations"]),
],
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: "DateOperations",
dependencies: []),
.testTarget(
name: "DateOperationsTests",
dependencies: ["DateOperations"]),
]
)
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
# SwiftDateOperations
# DateOperations

A description of this package.
Loading

0 comments on commit 89c79fc

Please sign in to comment.