From 6955d816ef8f1ebd1dfd03b1c7f01bfc401e6dd2 Mon Sep 17 00:00:00 2001 From: Javier Cicchelli Date: Fri, 17 Jan 2025 23:19:01 +0100 Subject: [PATCH] Restructured the folder structure of the executable target. --- .../CLI => Executable/Sources}/Colibri.swift | 0 .../Sources}/Commands/CreateCommand.swift | 0 .../Sources}/Options/CreateOptions.swift | 0 Package.swift | 10 +++++----- 4 files changed, 5 insertions(+), 5 deletions(-) rename {Sources/Executable/CLI => Executable/Sources}/Colibri.swift (100%) rename {Sources/Executable/CLI => Executable/Sources}/Commands/CreateCommand.swift (100%) rename {Sources/Executable/CLI => Executable/Sources}/Options/CreateOptions.swift (100%) diff --git a/Sources/Executable/CLI/Colibri.swift b/Executable/Sources/Colibri.swift similarity index 100% rename from Sources/Executable/CLI/Colibri.swift rename to Executable/Sources/Colibri.swift diff --git a/Sources/Executable/CLI/Commands/CreateCommand.swift b/Executable/Sources/Commands/CreateCommand.swift similarity index 100% rename from Sources/Executable/CLI/Commands/CreateCommand.swift rename to Executable/Sources/Commands/CreateCommand.swift diff --git a/Sources/Executable/CLI/Options/CreateOptions.swift b/Executable/Sources/Options/CreateOptions.swift similarity index 100% rename from Sources/Executable/CLI/Options/CreateOptions.swift rename to Executable/Sources/Options/CreateOptions.swift diff --git a/Package.swift b/Package.swift index e6333af..67c92d0 100644 --- a/Package.swift +++ b/Package.swift @@ -33,15 +33,15 @@ let package = Package( ), .target(name: "ColibriLibrary") ], - path: "Sources/Executable", - resources: [ - .copy("Resources/") - ] + path: "Executable" ), .target( name: "ColibriLibrary", dependencies: [], - path: "Sources/Library" + path: "Sources/Library", + resources: [ + .copy("Resources/Files/LICENSE") + ] ), .testTarget( name: "ColibriTests",