From 04fe2cf3e2fc4bc02ac436dad5cb1399c305e434 Mon Sep 17 00:00:00 2001 From: baegteun Date: Sun, 25 Jun 2023 22:23:20 +0900 Subject: [PATCH] :truck: :: Tuist/Templates -> TemplatesPlugins/Templates --- Plugin/TemplatesPlugin/Plugin.swift | 3 +++ {Tuist => Plugin/TemplatesPlugin}/Templates/Demo/Demo.swift | 0 .../TemplatesPlugin}/Templates/Demo/DemoResources.stencil | 0 .../TemplatesPlugin}/Templates/Demo/DemoSources.stencil | 0 .../TemplatesPlugin}/Templates/Interface/Interface.stencil | 0 .../TemplatesPlugin}/Templates/Interface/Interface.swift | 0 .../TemplatesPlugin}/Templates/Module/Module.swift | 0 .../TemplatesPlugin}/Templates/Module/Project.stencil | 0 .../TemplatesPlugin}/Templates/Module/Sources.stencil | 0 .../TemplatesPlugin}/Templates/Sources/Sources.stencil | 0 .../TemplatesPlugin}/Templates/Sources/Sources.swift | 0 .../TemplatesPlugin}/Templates/Testing/Testing.stencil | 0 .../TemplatesPlugin}/Templates/Testing/Testing.swift | 0 .../TemplatesPlugin}/Templates/Tests/Tests.stencil | 0 {Tuist => Plugin/TemplatesPlugin}/Templates/Tests/Tests.swift | 0 .../TemplatesPlugin}/Templates/UITests/UITests.stencil | 0 .../TemplatesPlugin}/Templates/UITests/UITests.swift | 0 Tuist/Config.swift | 3 ++- 18 files changed, 5 insertions(+), 1 deletion(-) create mode 100644 Plugin/TemplatesPlugin/Plugin.swift rename {Tuist => Plugin/TemplatesPlugin}/Templates/Demo/Demo.swift (100%) rename {Tuist => Plugin/TemplatesPlugin}/Templates/Demo/DemoResources.stencil (100%) rename {Tuist => Plugin/TemplatesPlugin}/Templates/Demo/DemoSources.stencil (100%) rename {Tuist => Plugin/TemplatesPlugin}/Templates/Interface/Interface.stencil (100%) rename {Tuist => Plugin/TemplatesPlugin}/Templates/Interface/Interface.swift (100%) rename {Tuist => Plugin/TemplatesPlugin}/Templates/Module/Module.swift (100%) rename {Tuist => Plugin/TemplatesPlugin}/Templates/Module/Project.stencil (100%) rename {Tuist => Plugin/TemplatesPlugin}/Templates/Module/Sources.stencil (100%) rename {Tuist => Plugin/TemplatesPlugin}/Templates/Sources/Sources.stencil (100%) rename {Tuist => Plugin/TemplatesPlugin}/Templates/Sources/Sources.swift (100%) rename {Tuist => Plugin/TemplatesPlugin}/Templates/Testing/Testing.stencil (100%) rename {Tuist => Plugin/TemplatesPlugin}/Templates/Testing/Testing.swift (100%) rename {Tuist => Plugin/TemplatesPlugin}/Templates/Tests/Tests.stencil (100%) rename {Tuist => Plugin/TemplatesPlugin}/Templates/Tests/Tests.swift (100%) rename {Tuist => Plugin/TemplatesPlugin}/Templates/UITests/UITests.stencil (100%) rename {Tuist => Plugin/TemplatesPlugin}/Templates/UITests/UITests.swift (100%) diff --git a/Plugin/TemplatesPlugin/Plugin.swift b/Plugin/TemplatesPlugin/Plugin.swift new file mode 100644 index 00000000..454a8d18 --- /dev/null +++ b/Plugin/TemplatesPlugin/Plugin.swift @@ -0,0 +1,3 @@ +import ProjectDescription + +let templatesPlugin = Plugin(name: "TemplatesPlugin") diff --git a/Tuist/Templates/Demo/Demo.swift b/Plugin/TemplatesPlugin/Templates/Demo/Demo.swift similarity index 100% rename from Tuist/Templates/Demo/Demo.swift rename to Plugin/TemplatesPlugin/Templates/Demo/Demo.swift diff --git a/Tuist/Templates/Demo/DemoResources.stencil b/Plugin/TemplatesPlugin/Templates/Demo/DemoResources.stencil similarity index 100% rename from Tuist/Templates/Demo/DemoResources.stencil rename to Plugin/TemplatesPlugin/Templates/Demo/DemoResources.stencil diff --git a/Tuist/Templates/Demo/DemoSources.stencil b/Plugin/TemplatesPlugin/Templates/Demo/DemoSources.stencil similarity index 100% rename from Tuist/Templates/Demo/DemoSources.stencil rename to Plugin/TemplatesPlugin/Templates/Demo/DemoSources.stencil diff --git a/Tuist/Templates/Interface/Interface.stencil b/Plugin/TemplatesPlugin/Templates/Interface/Interface.stencil similarity index 100% rename from Tuist/Templates/Interface/Interface.stencil rename to Plugin/TemplatesPlugin/Templates/Interface/Interface.stencil diff --git a/Tuist/Templates/Interface/Interface.swift b/Plugin/TemplatesPlugin/Templates/Interface/Interface.swift similarity index 100% rename from Tuist/Templates/Interface/Interface.swift rename to Plugin/TemplatesPlugin/Templates/Interface/Interface.swift diff --git a/Tuist/Templates/Module/Module.swift b/Plugin/TemplatesPlugin/Templates/Module/Module.swift similarity index 100% rename from Tuist/Templates/Module/Module.swift rename to Plugin/TemplatesPlugin/Templates/Module/Module.swift diff --git a/Tuist/Templates/Module/Project.stencil b/Plugin/TemplatesPlugin/Templates/Module/Project.stencil similarity index 100% rename from Tuist/Templates/Module/Project.stencil rename to Plugin/TemplatesPlugin/Templates/Module/Project.stencil diff --git a/Tuist/Templates/Module/Sources.stencil b/Plugin/TemplatesPlugin/Templates/Module/Sources.stencil similarity index 100% rename from Tuist/Templates/Module/Sources.stencil rename to Plugin/TemplatesPlugin/Templates/Module/Sources.stencil diff --git a/Tuist/Templates/Sources/Sources.stencil b/Plugin/TemplatesPlugin/Templates/Sources/Sources.stencil similarity index 100% rename from Tuist/Templates/Sources/Sources.stencil rename to Plugin/TemplatesPlugin/Templates/Sources/Sources.stencil diff --git a/Tuist/Templates/Sources/Sources.swift b/Plugin/TemplatesPlugin/Templates/Sources/Sources.swift similarity index 100% rename from Tuist/Templates/Sources/Sources.swift rename to Plugin/TemplatesPlugin/Templates/Sources/Sources.swift diff --git a/Tuist/Templates/Testing/Testing.stencil b/Plugin/TemplatesPlugin/Templates/Testing/Testing.stencil similarity index 100% rename from Tuist/Templates/Testing/Testing.stencil rename to Plugin/TemplatesPlugin/Templates/Testing/Testing.stencil diff --git a/Tuist/Templates/Testing/Testing.swift b/Plugin/TemplatesPlugin/Templates/Testing/Testing.swift similarity index 100% rename from Tuist/Templates/Testing/Testing.swift rename to Plugin/TemplatesPlugin/Templates/Testing/Testing.swift diff --git a/Tuist/Templates/Tests/Tests.stencil b/Plugin/TemplatesPlugin/Templates/Tests/Tests.stencil similarity index 100% rename from Tuist/Templates/Tests/Tests.stencil rename to Plugin/TemplatesPlugin/Templates/Tests/Tests.stencil diff --git a/Tuist/Templates/Tests/Tests.swift b/Plugin/TemplatesPlugin/Templates/Tests/Tests.swift similarity index 100% rename from Tuist/Templates/Tests/Tests.swift rename to Plugin/TemplatesPlugin/Templates/Tests/Tests.swift diff --git a/Tuist/Templates/UITests/UITests.stencil b/Plugin/TemplatesPlugin/Templates/UITests/UITests.stencil similarity index 100% rename from Tuist/Templates/UITests/UITests.stencil rename to Plugin/TemplatesPlugin/Templates/UITests/UITests.stencil diff --git a/Tuist/Templates/UITests/UITests.swift b/Plugin/TemplatesPlugin/Templates/UITests/UITests.swift similarity index 100% rename from Tuist/Templates/UITests/UITests.swift rename to Plugin/TemplatesPlugin/Templates/UITests/UITests.swift diff --git a/Tuist/Config.swift b/Tuist/Config.swift index 81150060..b53b59b4 100644 --- a/Tuist/Config.swift +++ b/Tuist/Config.swift @@ -5,7 +5,8 @@ let config = Config( .local(path: .relativeToRoot("Plugin/DependencyPlugin")), .local(path: .relativeToRoot("Plugin/ConfigurationPlugin")), .local(path: .relativeToRoot("Plugin/EnvironmentPlugin")), - .local(path: .relativeToRoot("Plugin/L10nPlugin")) + .local(path: .relativeToRoot("Plugin/L10nPlugin")), + .local(path: .relativeToRoot("Plugin/TemplatesPlugin")) ], generationOptions: .options() )