Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 7 additions & 1 deletion .github/workflows/swift.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,4 +19,10 @@ jobs:
- name: Build
run: swift build -v
- name: Run tests
run: swift test -v
run: swift test --enable-code-coverage
- name: Generate coverage report
run: |
xcrun llvm-cov export -format="lcov" \
.build/debug/RolePlayingCorePackageTests.xctest/Contents/MacOS/RolePlayingCorePackageTests \
-instr-profile .build/debug/codecov/default.profdata > coverage.lcov

10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
# RolePlayingCore [![Build Status](https://travis-ci.org/mrlegowatch/RolePlayingCore.svg?branch=master)](https://travis-ci.org/mrlegowatch/RolePlayingCore) [![codecov.io](https://codecov.io/gh/mrlegowatch/RolePlayingCore/branch/master/graphs/badge.svg)](https://codecov.io/gh/mrlegowatch/RolePlayingCore/branch/master)
# RolePlayingCore ![Build Status](https://github.com/mrlegowatch/RolePlayingCore/workflows/Swift/badge.svg)
![Code Coverage](https://codecov.io/gh/mrlegowatch/RolePlayingCore/branch/main/graph/badge.svg)
![Swift Version](https://img.shields.io/badge/Swift-5.0-orange.svg)
![Platform](https://img.shields.io/badge/platform-iOS%20%7C%20macOS%20%7C%20Linux-lightgrey.svg)
[![License](https://img.shields.io/github/license/mrlegowatch/RolePlayingCore)](LICENSE)

This framework provides reusable role playing game core logic in the Swift language. It is a work-in-progress. Capabilities will be provided incrementally over time.

The short-term goal for this project is to provide core logic for implementing a role playing game on macOS, iOS, and Linux. The architecture is intended to be flexible enough to support Open Game Content in addition to similar kinds of games, and nimble enough to minimize upstream dependencies.

The library is built as a generic Swift Package, and the Example character generator app uses the iOS SDK with SwiftUI. The longer-term goal is to leverage this as a framework or library for implementing role playing games and utilities on the desktop and web.

## Requirements

Xcode 26 or Swift 6 are required.

## Organization

The current organizational groupings include:
Expand Down