From ae110878f278d6f23f2fabca96e5a0a94a450fb4 Mon Sep 17 00:00:00 2001 From: Jan Krukowski Date: Wed, 30 Oct 2024 21:11:56 +0100 Subject: [PATCH] Added support for Swift 6 --- Package@swift-6.0.swift | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 Package@swift-6.0.swift diff --git a/Package@swift-6.0.swift b/Package@swift-6.0.swift new file mode 100644 index 0000000..081975c --- /dev/null +++ b/Package@swift-6.0.swift @@ -0,0 +1,29 @@ +// swift-tools-version: 6.0 +// The swift-tools-version declares the minimum version of Swift required to build this package. + +import PackageDescription + +let package = Package( + name: "Jinja", + platforms: [.iOS(.v16), .macOS(.v13)], + products: [ + // Products define the executables and libraries a package produces, making them visible to other packages. + .library( + name: "Jinja", + targets: ["Jinja"] + ) + ], + targets: [ + // Targets are the basic building blocks of a package, defining a module or a test suite. + // Targets can depend on other targets in this package and products from dependencies. + .target( + name: "Jinja", + path: "Sources" + ), + .testTarget( + name: "JinjaTests", + dependencies: ["Jinja"], + path: "Tests" + ) + ] +)