Skip to content

Commit

Permalink
Add SPM
Browse files Browse the repository at this point in the history
  • Loading branch information
SMillerDev committed Sep 16, 2019
1 parent accaf87 commit 44b560c
Show file tree
Hide file tree
Showing 3 changed files with 29 additions and 0 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@

# Xcode
build/
.build/
*.pbxuser
!default.pbxuser
*.mode1v3
Expand Down
1 change: 1 addition & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ before_install:
- pod repo update
- pod install --project-directory=Example
script:
- swift build
- set -o pipefail && xcodebuild test -workspace Example/markymark.xcworkspace -scheme markymark-Example -destination 'platform=iOS Simulator,name=iPhone 8' | xcpretty
# - pod lib lint
after_success:
Expand Down
27 changes: 27 additions & 0 deletions Package.swift
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
// swift-tools-version:4.0

import PackageDescription

let package = Package(
name: "Marky-Mark",
products: [
.library(
name: "markymark",
targets: ["markymark"]),
],
dependencies: [],
targets: [
.target(
name: "markymark",
dependencies: [],
path: "markymark"),
// .target(
// name: "markymark_Example",
// dependencies: [],
// path: "Example"),
// .testTarget(
// name: "markymark_Tests",
// dependencies: [],
// path: "Example"),
]
)

0 comments on commit 44b560c

Please sign in to comment.