A type safe swift ResultBuilder DSL for structured directories
0

Configure Feed

Select the types of activity you want to include in your feed.

swift-file-tree / Package.swift
935 B 29 lines
1// swift-tools-version: 6.0 2// The swift-tools-version declares the minimum version of Swift required to build this package. 3 4import PackageDescription 5 6let package = Package( 7 name: "swift-file-tree", 8 platforms: [.macOS(.v15), .iOS(.v17)], 9 products: [ 10 // Products define the executables and libraries a package produces, making them visible to other packages. 11 .library(name: "FileTree", targets: ["FileTree"]), 12 ], 13 dependencies: [ 14 ], 15 targets: [ 16 // Targets are the basic building blocks of a package, defining a module or a test suite. 17 // Targets can depend on other targets in this package and products from dependencies. 18 .target(name: "FileTree"), 19 .testTarget( 20 name: "FileTreeTests", 21 dependencies: [ 22 "FileTree" 23 ], 24 resources: [ 25 .copy("Resources") 26 ] 27 ), 28 ] 29)