Updated the name of the executable generated by the app target in the Package file.

This commit is contained in:
Javier Cicchelli 2025-03-27 00:04:51 +01:00
parent cf4d06d9aa
commit ce8f8d4d56
3 changed files with 3 additions and 4 deletions

View File

@ -1,8 +1,7 @@
import ArgumentParser
import DoxyLibrary
@main
struct App: AsyncParsableCommand {
@main struct Doxy: AsyncParsableCommand {
// MARK: Properties

View File

@ -2,7 +2,7 @@ import ArgumentParser
import DoxyLibrary
import Logging
extension App {
extension Doxy {
struct Options: AppArguments, ParsableArguments {
// MARK: Properties

View File

@ -9,7 +9,7 @@ let package = Package(
.macOS(.v14)
],
products: [
.executable(name: "App", targets: ["DoxyApp"])
.executable(name: "doxy", targets: ["DoxyApp"])
],
dependencies: [
.package(url: "https://github.com/apple/swift-argument-parser.git", from: "1.3.0"),