Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/417-72ki/swiftpackagetemplate

A template repo for new Swift Package
https://github.com/417-72ki/swiftpackagetemplate

ios macos swift template-repository tvos watchos xcode

Last synced: 14 days ago
JSON representation

A template repo for new Swift Package

Awesome Lists containing this project

README

        

# SwiftPackageTemplate
[![Actions Status](https://github.com/417-72KI/{replace-with-repo-name}/workflows/Test/badge.svg)](https://github.com/417-72KI/{replace-with-repo-name}/actions)
[![GitHub release](https://img.shields.io/github/release/417-72KI/{replace-with-repo-name}/all.svg)](https://github.com/417-72KI/{replace-with-repo-name}/releases)
[![Swift Package Manager](https://img.shields.io/badge/Swift%20Package%20Manager-5.7-brightgreen.svg)](https://github.com/apple/swift-package-manager)
[![](https://img.shields.io/endpoint?url=https%3A%2F%2Fswiftpackageindex.com%2Fapi%2Fpackages%2F417-72KI%2F{replace-with-repo-name}%2Fbadge%3Ftype%3Dswift-versions)](https://swiftpackageindex.com/417-72KI/{replace-with-repo-name})
[![](https://img.shields.io/endpoint?url=https%3A%2F%2Fswiftpackageindex.com%2Fapi%2Fpackages%2F417-72KI%2F{replace-with-repo-name}%2Fbadge%3Ftype%3Dplatforms)](https://swiftpackageindex.com/417-72KI/{replace-with-repo-name})
[![GitHub license](https://img.shields.io/badge/license-MIT-lightgrey.svg)](https://raw.githubusercontent.com/417-72KI/{replace-with-repo-name}/master/LICENSE)

A template repo for new Swift Package

## Initialize Package
### Library
- `swift package init`
### Executable
- `swift package init --type executable`

## About `.github/matrix.json`
This file is used to generate matrix for GitHub Actions.
### Reference
- `xcode_version`: https://github.com/actions/runner-images/blob/main/images/macos/macos-13-Readme.md#xcode
- `swift_version`: https://developer.apple.com/jp/support/xcode/