Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update readme, add podspec lint #215

Merged
merged 3 commits into from
Feb 2, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
@@ -42,6 +42,14 @@ jobs:
-scheme Turf \
-destination "<< parameters.destination >>" \
-derivedDataPath build
pod_spec_lint:
macos:
xcode: 15.2.0
steps:
- checkout
- run:
name: "Lint podspec"
command: pod spec lint

build_for_library_evolution:
macos:
@@ -71,3 +79,4 @@ workflows:
destination:
- "platform=visionOS Simulator,OS=1.0,name=Apple Vision Pro"
- "platform=iOS Simulator,OS=17.2,name=iPhone 15"
- pod_spec_lint
2 changes: 1 addition & 1 deletion Package.swift
Original file line number Diff line number Diff line change
@@ -6,7 +6,7 @@ import PackageDescription
let package = Package(
name: "Turf",
platforms: [
.macOS(.v10_13), .iOS(.v11), .watchOS(.v4), .tvOS(.v11), .custom("visionOS", versionString: "1.0")
.macOS(.v10_13), .iOS(.v11), .watchOS(.v4), .tvOS(.v11), .custom("visionos", versionString: "1.0")
],
products: [
.library(
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -10,7 +10,7 @@
[![CocoaPods](https://img.shields.io/cocoapods/v/Turf.svg)](https://cocoapods.org/pods/Turf/) &nbsp;&nbsp;&nbsp;
[![SPM compatible](https://img.shields.io/badge/SPM-compatible-4BC51D.svg?style=flat)](https://swift.org/package-manager/) &nbsp;&nbsp;&nbsp;

A [spatial analysis](http://en.wikipedia.org/wiki/Spatial_analysis) library written in Swift for native iOS, macOS, tvOS, watchOS, and Linux applications, ported from [Turf.js](https://github.com/Turfjs/turf/).
A [spatial analysis](http://en.wikipedia.org/wiki/Spatial_analysis) library written in Swift for native iOS, macOS, tvOS, watchOS, visionOS, and Linux applications, ported from [Turf.js](https://github.com/Turfjs/turf/).

## Requirements

@@ -20,7 +20,7 @@ Turf requires Xcode 14.1 or above and supports the following minimum deployment
* macOS 10.13 (High Sierra) and above
* tvOS 11.0 and above
* watchOS 4.0 and above
* visionOS 1.0 and above
* visionOS 1.0 and above (not supported via CocoaPods)

Alternatively, you can incorporate Turf into a command line tool without Xcode on any platform that [Swift](https://swift.org/download/) supports, including Linux.