Skip to content

Commit

Permalink
Fix build warning (#3)
Browse files Browse the repository at this point in the history
Co-authored-by: Felix Desiderato <[email protected]>
  • Loading branch information
hendesi and Felix Desiderato authored Dec 13, 2021
1 parent 05e810b commit 1ad9674
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
2 changes: 1 addition & 1 deletion Package.swift
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ let package = Package(
.package(name: "swift-nio-ip", url: "https://github.com/PSchmiedmayer/Swift-NIO-IP.git", from: "0.0.1")
],
targets: [
.target(
.executableTarget(
name: "lifx",
dependencies: [
.product(name: "ArgumentParser", package: "swift-argument-parser"),
Expand Down
4 changes: 1 addition & 3 deletions Sources/lifx/main.swift → Sources/lifx/LIFX.swift
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import Logging
import NIO
import NIOLIFX


@main
struct LIFX: ParsableCommand {
enum InitialAction: String, Codable, ExpressibleByArgument {
case on
Expand Down Expand Up @@ -110,5 +110,3 @@ struct LIFX: ParsableCommand {
LIFX.exit()
}
}

LIFX.main()

0 comments on commit 1ad9674

Please sign in to comment.