-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #24 from AlexanderNey/swiftpm-support
Swiftpm support, Bump version to 3.0
- Loading branch information
Showing
16 changed files
with
88 additions
and
892 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,16 @@ | ||
osx_image: xcode10 | ||
language: objective-c | ||
language: swift | ||
os: osx | ||
osx_image: xcode11.3 | ||
|
||
env: | ||
- DESTINATION="platform=iOS Simulator,name=iPhone 6,OS=9.0" | ||
- DESTINATION="platform=iOS Simulator,name=iPhone 6,OS=10.0" | ||
- DESTINATION="platform=iOS Simulator,name=iPhone 6,OS=11.1" | ||
- DESTINATION="platform=iOS Simulator,name=iPhone 6,OS=12.0" | ||
jobs: | ||
include: | ||
- name: "TV OS" | ||
env: DESTINATION="platform=tvOS Simulator,OS=11.0,name=Apple TV" | ||
- name: "iOS" | ||
env: DESTINATION="platform=iOS Simulator,OS=11.0.1,name=iPhone X" | ||
- name: "Mac" | ||
env: DESTINATION="platform=macOS,arch=x86_64" | ||
script: | ||
- xcodebuild clean build -project SemanticVersioning.xcodeproj -scheme "SemanticVersioning" -destination "$DESTINATION" -enableCodeCoverage YES test | ||
after_success: | ||
- bash <(curl -s https://codecov.io/bash) -J "$DESTINATION" -t cee9d255-69c0-455d-83d4-eb28f696a299 | ||
- swift package generate-xcodeproj | ||
- echo "build for $DESTINATION" | ||
- xcodebuild clean build -project SemanticVersioning.xcodeproj -scheme "SemanticVersioning-Package" -destination "$DESTINATION" -enableCodeCoverage YES test |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
// swift-tools-version:5.0 | ||
// The swift-tools-version declares the minimum version of Swift required to build this package. | ||
|
||
import PackageDescription | ||
|
||
let package = Package( | ||
name: "SemanticVersioning", | ||
platforms: [ | ||
.macOS(.v10_13), .iOS(.v11), .tvOS(.v11), .watchOS(.v4) | ||
], | ||
products: [ | ||
.library(name: "SemanticVersioning", targets: ["SemanticVersioning"]), | ||
], | ||
dependencies: [], | ||
targets: [ | ||
.target( | ||
name: "SemanticVersioning", | ||
dependencies: [], | ||
path: "Source"), | ||
.testTarget( | ||
name: "SemanticVersioningTests", | ||
dependencies: ["SemanticVersioning"], | ||
path: "Tests"), | ||
], | ||
swiftLanguageVersions: [.v5] | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,16 @@ | ||
Pod::Spec.new do |s| | ||
s.name = 'SemanticVersioning' | ||
s.version = '2.0.1' | ||
s.version = '3.0.0' | ||
s.license = { :type => "MIT" } | ||
s.summary = 'Elegant Semantic Versioning in Swift 4' | ||
s.summary = 'Elegant Semantic Versioning in Swift 5' | ||
s.homepage = 'https://github.com/AlexanderNey/SemanticVersioning' | ||
s.social_media_url = 'http://twitter.com/Ajax64' | ||
s.authors = { 'Alexander Ney' => '[email protected]' } | ||
s.source = { :git => 'https://github.com/AlexanderNey/SemanticVersioning.git', :branch => 'master', :tag => "v#{s.version}" } | ||
s.requires_arc = true | ||
s.ios.deployment_target = '9.0' | ||
s.tvos.deployment_target = '10.0' | ||
s.osx.deployment_target = '10.9' | ||
s.swift_version = '4.0' | ||
s.ios.deployment_target = '11.0' | ||
s.tvos.deployment_target = '11.0' | ||
s.osx.deployment_target = '10.13' | ||
s.swift_version = '5.0' | ||
s.source_files = 'Source/*.swift' | ||
|
||
end |
Oops, something went wrong.