A minimal Swift 6 executable package — the starting point for Swift development on Fedora Linux.
- Swift 6.3.2+
- Linux (aarch64)
swift build
swift runFor a debug build:
swift build -c debug
.build/debug/HelloSwiftswift testUses the Swift Testing framework (#expect). The helloWorld test asserts that HelloSwift.greeting() returns "Hello, world!".
HelloSwift/
├── Sources/HelloSwift/HelloSwift.swift # Entry point
├── Tests/HelloSwiftTests/ # Test suite
└── Package.swift # Swift package manifest