Skip to content

Commit 03a2bb5

Browse files
added podspec file, and...
- added installation section to README
1 parent a19f1c7 commit 03a2bb5

File tree

3 files changed

+30
-6
lines changed

3 files changed

+30
-6
lines changed

HugeNumbers.podspec

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
Pod::Spec.new do |s|
2+
s.name = 'HugeNumbers'
3+
s.version = '1.0.15'
4+
s.summary = 'Very large numbers with infinite precision.'
5+
s.homepage = 'https://github.com/RandomHashTags/swift_huge-numbers'
6+
s.license = { :type => 'CC0 1.0 Universal', :file => 'LICENSE.txt' }
7+
s.authors = { 'Evan Anderson' => 'imrandomhashtags@gmail.com' }
8+
s.osx.deployment_target = '10.15'
9+
s.ios.deployment_target = '13.0'
10+
s.tvos.deployment_target = '13.0'
11+
s.watchos.deployment_target = '6.0'
12+
s.source = { :git => 'https://github.com/RandomHashTags/swift_huge-numbers.git', :tag => s.version.to_s }
13+
s.swift_versions = ['5.1', '5.2', '5.3', '5.4', '5.5', '5.6', '5.7', '5.8']
14+
s.cocoapods_version = '>= 1.5.0'
15+
s.source_files = 'Sources/**/*'
16+
end

README.md

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,25 @@
22

33
This library was created to remove the decimal precision limitation on floats, which is especially useful in scientific applications.
44

5-
## Requirements
5+
## Installation
6+
### Requirements
67
- Swift >= 5.1
78
- macOS >= 10.15
89
- iOS >= 13.0
910
- tvOS >= 13.0
1011
- watchOS >= 6.0
12+
### CocoaPods
13+
```ruby
14+
pod 'HugeNumbers', '~> 1.0.15'
15+
```
16+
or for latest version (may not be uploaded to CocoaPods yet)
17+
```ruby
18+
pod 'HugeNumbers', :git => 'https://github.com/RandomHashTags/swift_huge-numbers.git'
19+
```
20+
### Swift Package Manager
21+
```swift
22+
.package(url: "https://github.com/RandomHashTags/swift_huge-numbers.git", from: "1.0.15")
23+
```
1124

1225
## Current features
1326
- `HugeInt`

Sources/huge-numbers/huge_numbers.swift

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,3 @@
44
//
55
// Created by Evan Anderson on 4/10/23.
66
//
7-
8-
public struct huge_numbers {
9-
public init() {
10-
}
11-
}

0 commit comments

Comments
 (0)