Swift Template
Use this template to develop a text-based program in Swift 5.10 on a Linux host.
This template includes:
- Extensions to support Swift development
- swift-format linter/formatter enabled to ensure code follows conventions
- Mint to run external Swift-based software
- swift-sh to run individual Swift files, including any external packages
- Integration for diagrams.net (for files ending in
.drawio
)
How to run your code
Once your Codespace has loaded, click on the Run File button in the status bar.
Commands to run
- mint install vapor/toolbox