more build infra

This commit is contained in:
keefertaylor 2019-10-27 21:20:33 -06:00
parent 8df3500571
commit 146b6f939d
3 changed files with 19 additions and 8 deletions

View File

@ -1 +1,3 @@
source 'https://rubygems.org'
gem 'slather'

View File

@ -3,8 +3,8 @@
s.version = "1.3.7"
s.summary = "MnemonicKit provides a Swift implementation of BIP39"
s.description = <<-DESC
MnemonicKit provides a Swift implementation of BIP39.
MnemonicKit provides a Swift implementation of BIP39.
This library is originally forked from CKMnemonic: https://github.com/CikeQiu/CKMnemonic. Modifications are made for non-throwing APIs and support on OSX as well as iOS. Credit for most of this work is given to work_cocody@hotmail.com, qiuhongyang@askcoin.org.
DESC
@ -16,11 +16,13 @@
s.swift_version = "4.2"
s.ios.deployment_target = "8.0"
s.osx.deployment_target = "10.10"
s.prepare_command = "xcodegen generate -s project.yml"
s.dependency "CryptoSwift", "~> 0.14.0"
s.test_spec "Tests" do |test_spec|
test_spec.source_files = "Tests/*.swift"
test_spec.resources = ["Tests/*.json"]
end
end
end
end

View File

@ -7,12 +7,12 @@
An implementation of BIP39 in Swift. MnemonicKit supports both English and Chinese mnemonics.
This library is a fork of [CKMnemonic](https://github.com/CikeQiu/CKMnemonic). This fork provides several conveniences over the original library, namely:
This library is a fork of [CKMnemonic](https://github.com/CikeQiu/CKMnemonic). This fork provides several conveniences over the original library, namely:
- Converting throwing APIs to non-throwing nullable APIs
- Additional helper methods
- Code clarity and documentation
- Additional Testing
- Support on OSX
- Support on OSX
## Installation
@ -66,7 +66,14 @@ If you use Carthage to build your dependencies, make sure you have added `Crypto
## Contributions
I am happy to accept pull requests. If anyone is able to reach the original authors of CKMnemonic, I am happy to merge this library upstream with them.
I am happy to accept pull requests.
To get set up:
```shell
$ brew install xcodegen # if you don't already have it
$ xcodegen generate # Generate an XCode project from Project.yml
$ open MnemonicKit.xcodeproj
```
## License