Skip to content

Commit

Permalink
feat: keep up with ts-fsrs, update algorithm version to 5.0 (#15)
Browse files Browse the repository at this point in the history
- Delete original source file
- Implemented FSRS 5.0
- Add tests
  • Loading branch information
ningkaiqiang authored Oct 29, 2024
1 parent 1d3cd7a commit 129e4dc
Show file tree
Hide file tree
Showing 26 changed files with 3,921 additions and 490 deletions.
23 changes: 15 additions & 8 deletions Package.swift
Original file line number Diff line number Diff line change
@@ -1,20 +1,27 @@
// swift-tools-version: 5.7
// swift-tools-version: 6.0
// The swift-tools-version declares the minimum version of Swift required to build this package.

import PackageDescription

let package = Package(
name: "fsrs",
name: "FSRS",
platforms: [
.macOS(.v10_13), .iOS(.v14),
],
products: [
.library(name: "FSRS", targets: ["FSRS"]),
.library(
name: "FSRS",
targets: ["FSRS"]),
],
targets: [
.target(name: "FSRS"),
.testTarget(
name: "FSRSTests",
dependencies: [ "FSRS" ]
),
.target(
name: "FSRS",
path: "Sources/FSRS/"
),
.testTarget(
name: "FSRSTests",
dependencies: ["FSRS"],
path: "./Tests/FSRSTests"
),
]
)
Loading

0 comments on commit 129e4dc

Please sign in to comment.