Skip to content
This repository has been archived by the owner on Nov 15, 2020. It is now read-only.

Commit

Permalink
#7 Compatibility with Swift PM
Browse files Browse the repository at this point in the history
  • Loading branch information
malcommac committed Oct 27, 2018
1 parent 0c91f3f commit e813472
Show file tree
Hide file tree
Showing 5 changed files with 23 additions and 4 deletions.
21 changes: 20 additions & 1 deletion Package.swift
Original file line number Diff line number Diff line change
@@ -1,5 +1,24 @@
// swift-tools-version:4.0
// The swift-tools-version declares the minimum version of Swift required to build this package.
import PackageDescription

let package = Package(
name: "SwiftScanner"
name: "SwiftScanner",
products: [
// Products define the executables and libraries produced by a package, and make them visible to other packages.
.library(
name: "SwiftScanner",
targets: ["SwiftScanner"])
],
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 which this package depends on.
.target(
name: "SwiftScanner",
dependencies: []),
]
)
File renamed without changes.
2 changes: 1 addition & 1 deletion SwiftScanner/SwiftScanner.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@
08906C661DF1BBDE00FC4209 /* Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Assets.xcassets; sourceTree = "<group>"; };
08906C691DF1BBDE00FC4209 /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/LaunchScreen.storyboard; sourceTree = "<group>"; };
08906C6B1DF1BBDE00FC4209 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = "<group>"; };
08906C751DF1C56C00FC4209 /* StringScanner.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; name = StringScanner.swift; path = ../Sources/StringScanner.swift; sourceTree = "<group>"; };
08906C751DF1C56C00FC4209 /* StringScanner.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; name = StringScanner.swift; path = ../Sources/SwiftScanner/StringScanner.swift; sourceTree = "<group>"; };
08C606EB1DF817E50014E07E /* NSScanner+Extenions.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; name = "NSScanner+Extenions.swift"; path = "../../Tests/SwiftScannerTests/NSScanner+Extenions.swift"; sourceTree = "<group>"; };
08C606EC1DF817E50014E07E /* TestSwiftScanner.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; name = TestSwiftScanner.swift; path = ../../Tests/SwiftScannerTests/TestSwiftScanner.swift; sourceTree = "<group>"; };
/* End PBXFileReference section */
Expand Down
Binary file not shown.
4 changes: 2 additions & 2 deletions SwiftScanner/SwiftScanner/Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,9 @@
<key>CFBundlePackageType</key>
<string>FMWK</string>
<key>CFBundleShortVersionString</key>
<string>1.0</string>
<string>1.1.0</string>
<key>CFBundleVersion</key>
<string>2</string>
<string>0</string>
<key>NSPrincipalClass</key>
<string></string>
</dict>
Expand Down

0 comments on commit e813472

Please # to comment.