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: "Pterodactyl", 12 platforms: [.macOS(.v15)], 13 products: [ 14 // Products define the executables and libraries a package produces, making them visible to other packages. 15 .library( 16 name: "PterodactylKernel", 17 targets: ["PterodactylKernel"] 18 ) 19 ], 20 targets: [ 21 // Targets are the basic building blocks of a package, defining a module or a test suite. 22 // Targets can depend on other targets in this package and products from dependencies. 23 .target( 24 name: "PterodactylKernel", 25 ), 26 .target( 27 name: "PterodactylSyntax" 28 ), 29 .testTarget( 30 name: "PterodactylKernelTests", 31 dependencies: ["PterodactylKernel"] 32 ) 33 ] 34)