-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathFileHash.podspec
35 lines (27 loc) · 1015 Bytes
/
FileHash.podspec
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
Pod::Spec.new do |spec|
spec.name = "FileHash"
spec.version = "0.0.1"
spec.summary = "A swift libray to calculate file hash."
spec.description = <<-DESC
# FileHash
A swift libray to calculate file hash.
# Usage
```
let path = "file_path_string"
let md5 = Hasher.md5HashOfFile(atPath: path)
let sha1 = Hasher.hash(with: .sha1, at: path)
```
DESC
spec.homepage = "https://github.com/CrazyFanFan/FileHash"
spec.license = "MIT"
spec.license = { :type => "MIT", :file => "LICENSE" }
spec.author = { "Crazy凡" => "[email protected]" }
spec.ios.deployment_target = "9.0"
spec.osx.deployment_target = "10.10"
spec.watchos.deployment_target = "3.0"
spec.tvos.deployment_target = "9.0"
spec.source = { :git => "https://github.com/CrazyFanFan/FileHash.git", :tag => "#{spec.version}" }
spec.requires_arc = true
spec.source_files = "Classes", "Sources/FileHash/**/*.{swift}"
spec.swift_version = '5.3'
end