Skip to content

Commit

Permalink
Removed an explicit LingueeOnAlfred executable target (#46)
Browse files Browse the repository at this point in the history
  • Loading branch information
Yurii Samsoniuk committed Oct 14, 2023
1 parent 0bbfdc1 commit 57a8f4f
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 13 deletions.
6 changes: 1 addition & 5 deletions Package.swift
Original file line number Diff line number Diff line change
Expand Up @@ -9,18 +9,14 @@ let package = Package(
.macOS(.v10_15)
],
products: [
.executable(name: "LingueeOnAlfred", targets: ["LingueeOnAlfred"])
.executable(name: "LingueeOnAlfred", targets: ["LingueeSearchWorkflow"])
],
dependencies: [
.package(url: "https://github.com/apple/swift-log.git", from: "1.4.0"),
.package(url: "https://github.com/scinfu/SwiftSoup.git", from: "2.3.2"),
],
targets: [
.executableTarget(
name: "LingueeOnAlfred",
dependencies: ["LingueeSearchWorkflow"]),

.target(
name: "LingueeSearchWorkflow",
dependencies: [
"Alfred",
Expand Down
8 changes: 0 additions & 8 deletions Sources/LingueeOnAlfred/Runner.swift

This file was deleted.

1 change: 1 addition & 0 deletions Sources/LingueeSearchWorkflow/LingueeSearchWorkflow.swift
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ fileprivate let kFiveMituneSeconds = 5 * kMinuteSeconds
/// The new release caching period.
fileprivate let kReleaseCacheExpirationInterval = kMinuteSeconds * 60 * 24 * 3 // 3 days

@main
public class LingueeSearchWorkflow {
private static let logger = Logger(
label: "\(LingueeSearchWorkflow.self)", factory: StreamLogHandler.standardError(label:))
Expand Down

0 comments on commit 57a8f4f

Please sign in to comment.