From 523c32cca6e3ef62c08a9e9645c2104fa74aca5d Mon Sep 17 00:00:00 2001 From: Nikita Vasilev Date: Fri, 20 Jan 2023 18:03:19 +0400 Subject: [PATCH 1/3] Update `README.md` --- README.md | 62 +++++++++++++++++++++++++++++++++++++++++++++++++++++-- 1 file changed, 60 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index a05c5cf6b..9108fe9cb 100644 --- a/README.md +++ b/README.md @@ -5,8 +5,66 @@

Liscence Platform -Swift4.2 +Swift5.5 + CI +

## Description -Flare is a framework written in Swift that makes it easy for you to work with in-app purchases and subscriptions. \ No newline at end of file +Flare is a framework written in Swift that makes it easy for you to work with in-app purchases and subscriptions. + +- [Features](#features) +- [Documentaton](#documentation) +- [Requirements](#requirements) +- [Installation](#installation) +- [Communication](#communication) +- [Contributing](#contributing) +- [Author](#author) +- [License](#license) + +## Features +- [x] Support Consumable & Non-Consumable Purchases +- [x] Support Subscription Purchase +- [x] Refresh Receipt +- [x] Complete Unit Test Coverage + +## Documentation +Check out [flare documentation](https://github.com/space-code/flare/blob/main/Documentation/Usage.md). + +## Requirements +- iOS 13.0+ / macOS 10.15+ / tvOS 11.0+ / watchOS 7.0+ +- Xcode 14.0 +- Swift 5.5 + +## Installation +### Swift Package Manager + +The [Swift Package Manager](https://swift.org/package-manager/) is a tool for automating the distribution of Swift code and is integrated into the `swift` compiler. It is in early development, but `flare` does support its use on supported platforms. + +Once you have your Swift package set up, adding `flare` as a dependency is as easy as adding it to the `dependencies` value of your `Package.swift`. + +```swift +dependencies: [ + .package(url: "https://github.com/space-code/flare.git", .upToNextMajor(from: "1.0.0")) +] +``` + +## Communication +- If you **found a bug**, open an issue. +- If you **have a feature request**, open an issue. +- If you **want to contribute**, submit a pull request. + +## Contributing +Bootstrapping development environment + +``` +make bootstrap +``` + +Please feel free to help out with this project! If you see something that could be made better or want a new feature, open up an issue or send a Pull Request! + +## Author +Nikita Vasilev, nv3212@gmail.com + +## License +flare is available under the MIT license. See the LICENSE file for more info. \ No newline at end of file From 58b7b409ff85b6edf605f456bf02fce7262a0977 Mon Sep 17 00:00:00 2001 From: Nikita Vasilev Date: Fri, 20 Jan 2023 18:03:40 +0400 Subject: [PATCH 2/3] Add `CHANGELOG.md` --- CHANGELOG.md | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 CHANGELOG.md diff --git a/CHANGELOG.md b/CHANGELOG.md new file mode 100644 index 000000000..c64915145 --- /dev/null +++ b/CHANGELOG.md @@ -0,0 +1,12 @@ +# Change Log +All notable changes to this project will be documented in this file. + +#### 1.x Releases +- `1.0.x` Releases - [1.0.0](#100) + +## [1.0.0](https://github.com/space-code/flare/releases/tag/1.0.0) +Released on 2023-01-20. + +#### Added +- Initial release of Flare. + - Added by [Nikita Vasilev](https://github.com/nik3212). \ No newline at end of file From 82c284c9dcb4a620545c2364ae9bcc8f2967d984 Mon Sep 17 00:00:00 2001 From: Nikita Vasilev Date: Fri, 20 Jan 2023 18:14:19 +0400 Subject: [PATCH 3/3] Update `Makefile` --- Makefile | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 1bd068d6c..856d64b45 100644 --- a/Makefile +++ b/Makefile @@ -1,5 +1,19 @@ +all: bootstrap + +bootstrap: hook + mint bootstrap + hook: ln -sf ../../hooks/pre-commit .git/hooks/pre-commit chmod +x .git/hooks/pre-commit -.PHONY: hook \ No newline at end of file +mint: + mint bootstrap + +lint: + mint run swiftlint + +fmt: + mint run swiftformat Sources Tests + +.PHONY: all bootstrap hook mint lint fmt \ No newline at end of file