Skip to content

Commit

Permalink
Merge pull request #125 from yaslab/release/2.5.0
Browse files Browse the repository at this point in the history
Release 2.5.0
  • Loading branch information
yaslab authored Aug 11, 2024
2 parents 36a8afd + 2ae7dcf commit 5be4d8e
Show file tree
Hide file tree
Showing 4 changed files with 27 additions and 6 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,10 @@ name: CI
on:
push:
branches:
- master
- main
pull_request:
branches:
- master
- main

jobs:
test-on-macos:
Expand Down
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ playground.xcworkspace
# *.xcodeproj
# Xcode automatically generates this directory with a .xcworkspacedata file and xcuserdata
# hence it is not needed unless you have added a package configuration file to your project
# .swiftpm
.swiftpm

.build/

Expand Down
2 changes: 1 addition & 1 deletion CSV.swift.podspec
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Pod::Spec.new do |spec|
spec.name = 'CSV.swift'
spec.version = '2.4.3'
spec.version = '2.5.0'
spec.license = { :type => 'MIT' }
spec.homepage = 'https://github.com/yaslab/CSV.swift'
spec.authors = { 'Yasuhiro Hatta' => '[email protected]' }
Expand Down
25 changes: 23 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -168,14 +168,35 @@ csv.stream.close()

### Swift Package Manager

Add the dependency to your `Package.swift`. For example:

```swift
.package(url: "https://github.com/yaslab/CSV.swift.git", from: "2.4.3")
// swift-tools-version: 5.9

import PackageDescription

let package = Package(
name: "MyPackage",
dependencies: [
// Add `CSV.swift` package here.
.package(url: "https://github.com/yaslab/CSV.swift.git", from: "2.5.0")
],
targets: [
.executableTarget(
name: "MyCommand",
dependencies: [
// Then add it to your module's dependencies.
.product(name: "CSV", package: "CSV.swift")
]
)
]
)
```

### CocoaPods

```ruby
pod 'CSV.swift', '~> 2.4.3'
pod 'CSV.swift', '~> 2.5.0'
```

## Reference specification
Expand Down

0 comments on commit 5be4d8e

Please sign in to comment.