A lightweight platform abstraction layer in Swift. It is developed and maintained as part of the Fireblade Game Engine project.
These instructions will get you a copy of the project up and running on your local machine and provide a code example.
- Swift Package Manager (SPM)
- SwiftFormat for formatting
- Swiftlint for linting - (optional)
Fireblade PAL is available for all platforms that support Swift 5.7 and higher and the Swift Package Manager (SPM).
Extend the following lines in your Package.swift
file or use it to create a new project.
// swift-tools-version:5.7
import PackageDescription
let package = Package(
name: "YourPackageName",
dependencies: [
.package(url: "https://github.com/fireblade-engine/pal.git", from: "0.1.0")
],
targets: [
.target(
name: "YourTargetName",
dependencies: ["FirebladePAL"])
]
)
If you want to contribute please see the CONTRIBUTION GUIDE first.
To start your project contribution run these in your command line:
git clone git@github.com:fireblade-engine/pal.git fireblade-pal
cd fireblade-pal
make setupEnvironment
Before commiting code please ensure to run:
make pre-push
This project is currently maintained by Christian Treffs.
See also the list of contributors who participated in this project.
This project is licensed under the MIT License - see the LICENSE file for details