Swiftpack.co - phatblat/SwiftCLI as Swift Package

Swiftpack.co is a collection of thousands of indexed Swift packages. Search packages.
See all packages published by phatblat.
phatblat/SwiftCLI 1.0.0
☠️ Template for Swift projects using the Swift Package Manager
⭐️ 0
🕓 3 weeks ago
.package(url: "https://github.com/phatblat/SwiftCLI.git", from: "1.0.0")


A template for Swift projects using the Swift Package Manager. Includes 3 targets:

  • swiftcli: an executable
  • SwiftCLIKit: a library/framework to hold all logic
  • SwiftCLIKitTests: tests for the library

The reason for putting all logic in the library is because an executable target is not a bundle and thus Xcode can't run tests against it.

Makefile is based on Rob Allen's Cross-platform Makefile for Swift

📄 License

This repo is licensed under the MIT License. See the LICENSE file for rights and limitations.


Stars: 0
Last commit: 3 weeks ago
jonrohan Something's broken? Yell at me @ptrpavlik. Praise and feedback (and money) is also welcome.

Release Notes

2 years ago
  • 🎉 Initial release

Swiftpack is being maintained by Petr Pavlik | @ptrpavlik | @swiftpackco | API | Analytics