Remove exe
This commit is contained in:
@@ -14,7 +14,6 @@ let package = Package(
|
||||
name: "OpenFoodFacts",
|
||||
targets: ["OpenFoodFacts"]
|
||||
),
|
||||
.executable(name: "exe", targets: ["exe"]),
|
||||
],
|
||||
targets: [
|
||||
// Targets are the basic building blocks of a package, defining a module or a test suite.
|
||||
@@ -22,7 +21,6 @@ let package = Package(
|
||||
.target(
|
||||
name: "OpenFoodFacts", path: "Sources/OpenFoodFacts"
|
||||
),
|
||||
.executableTarget(name: "exe", dependencies: ["OpenFoodFacts"]),
|
||||
.testTarget(
|
||||
name: "OpenFoodFactsTests",
|
||||
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