1// SPDX-FileCopyrightText: 2025 The Project Pterodactyl Developers 2// 3// SPDX-License-Identifier: MPL-2.0 4 5// swift-tools-version: 6.2 6// The swift-tools-version declares the minimum version of Swift required to build this package. 7 8import PackageDescription 9 10let package = Package( 11 name: "PterodactylKernel", 12 products: [ 13 // Products define the executables and libraries a package produces, making them visible to other packages. 14 .library( 15 name: "PterodactylKernel", 16 targets: ["PterodactylKernel"] 17 ) 18 ], 19 targets: [ 20 // Targets are the basic building blocks of a package, defining a module or a test suite. 21 // Targets can depend on other targets in this package and products from dependencies. 22 .target( 23 name: "PterodactylKernel", 24 ), 25 .testTarget( 26 name: "PterodactylKernelTests", 27 dependencies: ["PterodactylKernel"] 28 ) 29 ] 30)