Remove exe
This commit is contained in:
@@ -14,7 +14,6 @@ let package = Package(
|
|||||||
name: "OpenFoodFacts",
|
name: "OpenFoodFacts",
|
||||||
targets: ["OpenFoodFacts"]
|
targets: ["OpenFoodFacts"]
|
||||||
),
|
),
|
||||||
.executable(name: "exe", targets: ["exe"]),
|
|
||||||
],
|
],
|
||||||
targets: [
|
targets: [
|
||||||
// Targets are the basic building blocks of a package, defining a module or a test suite.
|
// Targets are the basic building blocks of a package, defining a module or a test suite.
|
||||||
@@ -22,7 +21,6 @@ let package = Package(
|
|||||||
.target(
|
.target(
|
||||||
name: "OpenFoodFacts", path: "Sources/OpenFoodFacts"
|
name: "OpenFoodFacts", path: "Sources/OpenFoodFacts"
|
||||||
),
|
),
|
||||||
.executableTarget(name: "exe", dependencies: ["OpenFoodFacts"]),
|
|
||||||
.testTarget(
|
.testTarget(
|
||||||
name: "OpenFoodFactsTests",
|
name: "OpenFoodFactsTests",
|
||||||
dependencies: ["OpenFoodFacts"]
|
dependencies: ["OpenFoodFacts"]
|
||||||
|
|||||||
@@ -1,13 +0,0 @@
|
|||||||
import Foundation
|
|
||||||
import OpenFoodFacts
|
|
||||||
|
|
||||||
let off = OpenFoodFactsClient()
|
|
||||||
off.prod = true
|
|
||||||
|
|
||||||
// do {
|
|
||||||
|
|
||||||
// // let res = try await off.search("Coca-Cola")
|
|
||||||
// // print(res)
|
|
||||||
// } catch {
|
|
||||||
// print(error)
|
|
||||||
// }
|
|
||||||
Reference in New Issue
Block a user