|
|
|
@ -23,6 +23,8 @@ let package = Package(
|
|
|
|
|
.executable(name: "hash_map", targets: ["hash_map"]),
|
|
|
|
|
.executable(name: "array_hash_map", targets: ["array_hash_map"]),
|
|
|
|
|
.executable(name: "binary_tree", targets: ["binary_tree"]),
|
|
|
|
|
.executable(name: "binary_tree_bfs", targets: ["binary_tree_bfs"]),
|
|
|
|
|
.executable(name: "binary_tree_dfs", targets: ["binary_tree_dfs"]),
|
|
|
|
|
],
|
|
|
|
|
targets: [
|
|
|
|
|
.target(name: "utils", path: "utils"),
|
|
|
|
@ -44,5 +46,7 @@ let package = Package(
|
|
|
|
|
.executableTarget(name: "hash_map", dependencies: ["utils"], path: "chapter_hashing", sources: ["hash_map.swift"]),
|
|
|
|
|
.executableTarget(name: "array_hash_map", path: "chapter_hashing", sources: ["array_hash_map.swift"]),
|
|
|
|
|
.executableTarget(name: "binary_tree", dependencies: ["utils"], path: "chapter_tree", sources: ["binary_tree.swift"]),
|
|
|
|
|
.executableTarget(name: "binary_tree_bfs", dependencies: ["utils"], path: "chapter_tree", sources: ["binary_tree_bfs.swift"]),
|
|
|
|
|
.executableTarget(name: "binary_tree_dfs", dependencies: ["utils"], path: "chapter_tree", sources: ["binary_tree_dfs.swift"]),
|
|
|
|
|
]
|
|
|
|
|
)
|
|
|
|
|