Skip to content

Commit

Permalink
Merge pull request #18 from mohakapt/master
Browse files Browse the repository at this point in the history
Add support for swift package manager
  • Loading branch information
eonist authored Dec 8, 2020
2 parents 214bf08 + 6ebc6d0 commit cc16ad7
Show file tree
Hide file tree
Showing 3 changed files with 27 additions and 1 deletion.
2 changes: 1 addition & 1 deletion FileWatcher.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
Pod::Spec.new do |spec|

spec.name = "FileWatcher"
spec.version = "0.2.1"
spec.version = "0.2.2"
spec.summary = "A library for monitoring file and folder changes in macOS."
spec.homepage = "https://github.com/eonist/FileWatcher"
spec.license = "MIT"
Expand Down
25 changes: 25 additions & 0 deletions Package.swift
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
// swift-tools-version:5.3

import PackageDescription

let package = Package(
name: "FileWatcher",
platforms: [
.macOS(.v10_12),
],
products: [
.library(
name: "FileWatcher",
targets: ["FileWatcher"]
),
],
targets: [
.target(
name: "FileWatcher",
dependencies: [],
path: "./",
exclude: ["FileWatcherExample", "FileWatcherExample.xcodeproj", "FileWatcher.podspec"]
)
],
swiftLanguageVersions: [.v4]
)
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
### Installation:
- CocoaPods `pod "FileWatcher"`
- Carthage `github "eonist/FileWatcher" "master"`
- Swift Package Manager `https://github.com/eonist/FileWatcher.git`
- Manual Open `FileWatcherExample.xcodeproj`

### Example
Expand Down

0 comments on commit cc16ad7

Please sign in to comment.