Skip to content

Commit

Permalink
Swift Package Manager support (#123)
Browse files Browse the repository at this point in the history
  • Loading branch information
lickel authored Aug 10, 2021
1 parent caa0e75 commit d9f7489
Show file tree
Hide file tree
Showing 15 changed files with 29 additions and 2 deletions.
2 changes: 1 addition & 1 deletion JLRoutes.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ Pod::Spec.new do |s|
s.framework = 'Foundation'
s.requires_arc = true

s.source_files = 'JLRoutes', 'JLRoutes/*.{h,m}', 'JLRoutes/Classes/*.{h,m}'
s.source_files = 'JLRoutes', 'JLRoutes/*.{h,m}'

s.ios.deployment_target = '8.0'
s.osx.deployment_target = '10.10'
Expand Down
2 changes: 1 addition & 1 deletion JLRoutes.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,7 @@
5DA69C541DAB4C3A007C8E9C /* JLRParsingUtilities.h */,
5DA69C551DAB4C3A007C8E9C /* JLRParsingUtilities.m */,
);
path = Classes;
name = Classes;
sourceTree = "<group>";
};
/* End PBXGroup section */
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
1 change: 1 addition & 0 deletions JLRoutes/JLRoutes.h
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
#import "JLRRouteHandler.h"
#import "JLRRouteRequest.h"
#import "JLRRouteResponse.h"
#import "JLRParsingUtilities.h"

NS_ASSUME_NONNULL_BEGIN

Expand Down
Empty file modified JLRoutes/JLRoutes.m
100755 → 100644
Empty file.
26 changes: 26 additions & 0 deletions Package.swift
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
// swift-tools-version:5.3

import PackageDescription

let package = Package(
name: "JLRoutes",
platforms: [
.macOS(.v10_10),
.iOS(.v9),
.tvOS(.v9),
],
products: [
.library(
name: "JLRoutes",
targets: ["JLRoutes"]
),
],
targets: [
.target(
name: "JLRoutes",
path: "JLRoutes",
publicHeadersPath: "."
),
],
swiftLanguageVersions: [.v5]
)

0 comments on commit d9f7489

Please sign in to comment.