This project contains the engine for a fair-ground. It consists of:
fairtool
: a command-line tool for creating & managing fair-groundsFairCore
& FairApp
: Swift modules for including runtime support for a fair-ground appA fair-ground is an independent distribution platform for free and open-source native apps written in SwiftUI.
Browse the API documentation for details.
Note that until version 1.0 is released, minor releases may include API-breaking changes.
The fairtool
is a command-line executable for macOS12.
It is used to manage all aspects of an App distribution
fair-ground.
Read the fairtool documentation.
Swift Package Manager usage:
// swift-tools-version:5.5
import PackageDescription
let package = Package(
name: "App",
defaultLocalization: "en",
platforms: [ .macOS(.v12), .iOS(.v15) ],
products: [ .library(name: "App", targets: ["App"]) ],
dependencies: [
.package(name: "Fair", url: "https://fair-ground.org/Fair.git", .branch("main")),
],
targets: [
.target(name: "App", dependencies: [ .product(name: "FairApp", package: "Fair") ], resources: [.process("Resources"), .copy("Bundle")]),
.testTarget(name: "AppTests", dependencies: ["App"]),
]
)
swift package --allow-writing-to-directory ./docs generate-documentation --target FairCore --disable-indexing --transform-for-static-hosting --hosting-base-path Fair --output-path docs/
link |
Stars: 4 |
Last commit: 4 Just Now |
Swiftpack is being maintained by Petr Pavlik | @ptrpavlik | @swiftpackco | API | Analytics