|
|
|
@ -22,6 +22,7 @@ let package = Package(
|
|
|
|
|
.executable(name: "deque", targets: ["deque"]),
|
|
|
|
|
.executable(name: "hash_map", targets: ["hash_map"]),
|
|
|
|
|
.executable(name: "array_hash_map", targets: ["array_hash_map"]),
|
|
|
|
|
.executable(name: "binary_tree", targets: ["binary_tree"]),
|
|
|
|
|
],
|
|
|
|
|
targets: [
|
|
|
|
|
.target(name: "utils", path: "utils"),
|
|
|
|
@ -42,5 +43,6 @@ let package = Package(
|
|
|
|
|
.executableTarget(name: "deque", path: "chapter_stack_and_queue", sources: ["deque.swift"]),
|
|
|
|
|
.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"]),
|
|
|
|
|
]
|
|
|
|
|
)
|
|
|
|
|