From ce8f8d4d567a567393e91bfde7bb0db8801aa46c Mon Sep 17 00:00:00 2001 From: Javier Cicchelli Date: Thu, 27 Mar 2025 00:04:51 +0100 Subject: [PATCH] Updated the name of the executable generated by the app target in the Package file. --- App/Sources/App.swift | 3 +-- App/Sources/Options/AppOptions.swift | 2 +- Package.swift | 2 +- 3 files changed, 3 insertions(+), 4 deletions(-) diff --git a/App/Sources/App.swift b/App/Sources/App.swift index b3bc2a7..7b2e783 100644 --- a/App/Sources/App.swift +++ b/App/Sources/App.swift @@ -1,8 +1,7 @@ import ArgumentParser import DoxyLibrary -@main -struct App: AsyncParsableCommand { +@main struct Doxy: AsyncParsableCommand { // MARK: Properties diff --git a/App/Sources/Options/AppOptions.swift b/App/Sources/Options/AppOptions.swift index a107f02..80db7d7 100644 --- a/App/Sources/Options/AppOptions.swift +++ b/App/Sources/Options/AppOptions.swift @@ -2,7 +2,7 @@ import ArgumentParser import DoxyLibrary import Logging -extension App { +extension Doxy { struct Options: AppArguments, ParsableArguments { // MARK: Properties diff --git a/Package.swift b/Package.swift index db07776..836a02c 100644 --- a/Package.swift +++ b/Package.swift @@ -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"),