A template for Swift projects using the Swift Package Manager. Includes 3 targets:
swiftcli
: an executableSwiftCLIKit
: a library/framework to hold all logicSwiftCLIKitTests
: 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
This repo is licensed under the MIT License. See the LICENSE file for rights and limitations.