Skip to content

Commit

Permalink
fix SPM contents, add SPM artefacts to .gitignore
Browse files Browse the repository at this point in the history
  • Loading branch information
Bradley Mackey committed Oct 12, 2019
1 parent 788eec8 commit b731232
Show file tree
Hide file tree
Showing 4 changed files with 22 additions and 6 deletions.
7 changes: 7 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -15,3 +15,10 @@ profile
DerivedData
.idea/
*.xccheckout

# SPM
/.build
/Packages
/*.xcodeproj
.swiftpm
Package.resolved
14 changes: 11 additions & 3 deletions Package.swift
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,17 @@ import PackageDescription

let package = Package(
name: "SwiftyFORM",
platforms: [
.iOS(.v9)
],
products: [
// Products define the executables and libraries produced by a package, and make them visible to other packages.
.library(
name: "SwiftyFORM",
targets: ["SwiftyFORM"]),
targets: [
"SwiftyFORM"
]
),
],
dependencies: [
// Dependencies declare other packages that this package depends on.
Expand All @@ -20,6 +26,8 @@ let package = Package(
.target(
name: "SwiftyFORM",
dependencies: [],
path: "Source"),
]
path: "Source"
),
],
swiftLanguageVersions: [.v5]
)
4 changes: 4 additions & 0 deletions SwiftyFORM.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -109,6 +109,7 @@
42FABBC41D4143650066E45A /* PrecisionSlider.swift in Sources */ = {isa = PBXBuildFile; fileRef = 42FABBC31D4143650066E45A /* PrecisionSlider.swift */; };
739649131D2B6B7400E12A96 /* AttributedTextCell.swift in Sources */ = {isa = PBXBuildFile; fileRef = 739649121D2B6B7400E12A96 /* AttributedTextCell.swift */; };
739649151D2B6CC100E12A96 /* AttributedTextFormItem.swift in Sources */ = {isa = PBXBuildFile; fileRef = 739649141D2B6CC000E12A96 /* AttributedTextFormItem.swift */; };
971783F923521A7B00A0948D /* Package.swift in Sources */ = {isa = PBXBuildFile; fileRef = 971783F823521A7B00A0948D /* Package.swift */; };
/* End PBXBuildFile section */

/* Begin PBXContainerItemProxy section */
Expand Down Expand Up @@ -227,6 +228,7 @@
42FABBC31D4143650066E45A /* PrecisionSlider.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = PrecisionSlider.swift; sourceTree = "<group>"; };
739649121D2B6B7400E12A96 /* AttributedTextCell.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = AttributedTextCell.swift; sourceTree = "<group>"; };
739649141D2B6CC000E12A96 /* AttributedTextFormItem.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = AttributedTextFormItem.swift; sourceTree = "<group>"; };
971783F823521A7B00A0948D /* Package.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Package.swift; sourceTree = "<group>"; };
/* End PBXFileReference section */

/* Begin PBXFrameworksBuildPhase section */
Expand All @@ -251,6 +253,7 @@
4208F22C19F95C73003E834D = {
isa = PBXGroup;
children = (
971783F823521A7B00A0948D /* Package.swift */,
428682F61B346CFE0028DB2F /* Source */,
4286835D1B346D0C0028DB2F /* Tests */,
4208F23619F95C73003E834D /* Products */,
Expand Down Expand Up @@ -571,6 +574,7 @@
42108D191B34E9F60067FEAA /* FormItem.swift in Sources */,
42D005101B96243000986B3B /* WillDisplayCellDelegate.swift in Sources */,
42108D211B34E9F60067FEAA /* TextFieldFormItem.swift in Sources */,
971783F923521A7B00A0948D /* Package.swift in Sources */,
428683341B346CFE0028DB2F /* StaticTextCell.swift in Sources */,
423E31411D6383FE0048D8C3 /* TableViewSectionArray.swift in Sources */,
428683531B346CFE0028DB2F /* DebugViewController.swift in Sources */,
Expand Down
3 changes: 0 additions & 3 deletions SwiftyFORM.xcworkspace/contents.xcworkspacedata

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

0 comments on commit b731232

Please sign in to comment.