- Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathFileHash.podspec
More file actions
Latest commit
35 lines (27 loc) · 1023 Bytes
/
Copy pathFileHash.podspec
File metadata and controls
35 lines (27 loc) · 1023 Bytes
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.newdo |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 = FileHasher.md5(ofFileAtPath: path)
let sha1 = FileHasher.hash(.sha1, ofFileAtPath: path)
```
DESC
spec.homepage="https://github.com/CrazyFanFan/FileHash"
spec.license="MIT"
spec.license={:type=>"MIT",:file=>"LICENSE"}
spec.author={"Crazy凡"=>"827799383@qq.com"}
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