Skip to content

Commit

Permalink
Merge pull request #2 from RougeWare/feature/1-Swift-Package
Browse files Browse the repository at this point in the history
#1 Let's strip it down and rebuild it as a Swift package
  • Loading branch information
KyNorthstar authored Sep 21, 2019
2 parents 4b8110e + f71e66f commit 087d41c
Show file tree
Hide file tree
Showing 13 changed files with 79 additions and 531 deletions.
9 changes: 5 additions & 4 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@

Semantic Versioning\.xcodeproj/project\.xcworkspace/xcuserdata/

Semantic Versioning\.xcodeproj/xcuserdata/
.DS_Store
/.build
/Packages
/*.xcodeproj
xcuserdata/

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

Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>IDEDidComputeMac32BitWarning</key>
<true/>
</dict>
</plist>
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.1
// The swift-tools-version declares the minimum version of Swift required to build this package.

import PackageDescription

let package = Package(
name: "SemVer",
products: [
// Products define the executables and libraries produced by a package, and make them visible to other packages.
.library(
name: "SemVer",
targets: ["SemVer"]),
],
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: "SemVer",
dependencies: []),
.testTarget(
name: "SemVerTests",
dependencies: ["SemVer"]),
]
)
Loading

0 comments on commit 087d41c

Please sign in to comment.