Skip to content

Commit

Permalink
Support Swift 4 (#29)
Browse files Browse the repository at this point in the history
Reorganized files so they fit SPM convention. Updated Package.swift format for
4.0 era.
  • Loading branch information
dduan authored and sberrevoets committed Sep 21, 2017
1 parent dbf79f9 commit c83170a
Show file tree
Hide file tree
Showing 17 changed files with 6 additions and 7 deletions.
2 changes: 1 addition & 1 deletion .travis.yml
@@ -1,5 +1,5 @@
language: objective-c
osx_image: xcode8.2
osx_image: xcode9

install: true
script:
Expand Down
4 changes: 2 additions & 2 deletions LambdaKit.podspec
Expand Up @@ -11,6 +11,6 @@ Pod::Spec.new do |s|
s.ios.deployment_target = '8.0'
s.watchos.deployment_target = '3.0'

s.ios.source_files = 'Source/*.swift'
s.watchos.source_files = 'Source/NSObject*.swift', 'Source/CLLocationManager*.swift'
s.ios.source_files = 'Sources/LambdaKit/*.swift'
s.watchos.source_files = 'Sources/LambdaKit/NSObject*.swift', 'Source/LambdaKit/CLLocationManager*.swift'

This comment has been minimized.

Copy link
@keith

keith Oct 25, 2017

Collaborator

Boop

end
2 changes: 1 addition & 1 deletion Makefile
Expand Up @@ -3,7 +3,7 @@ PROJECT ?= LambdaKit.xcodeproj
.PHONY: build project

build: $(PROJECT)
xcodebuild -project LambdaKit.xcodeproj -configuration Release clean build
xcodebuild -project LambdaKit.xcodeproj -configuration Release clean build -scheme LambdaKit-Package

project: $(PROJECT)

Expand Down
5 changes: 2 additions & 3 deletions Package.swift
@@ -1,5 +1,4 @@
// swift-tools-version:4.0
import PackageDescription

let package = Package(
name: "LambdaKit"
)
let package = Package(name: "LambdaKit", targets: [.target(name: "LambdaKit")])
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.

0 comments on commit c83170a

Please sign in to comment.