Open Rubyroidas opened 3 years ago
I think no. Godot export CLI option has no such parameters.
As far as I know, this option would only make sense for Mono/C# projects.
Could this be solved by allowing you to specify a solution filter file? https://docs.microsoft.com/en-us/visualstudio/msbuild/solution-filters
Describe the project you are working on: 2D game
Describe the problem or limitation you are having in your project: I use mono version of Godot. I have set up the CI/CD for my project. I added several projects which are logic libraries and tests for them (for reuse cases and purity of code). All was ok until I added a project into solution which is the Windows XAML App. My CI/CD pipeline became broken therefore I figured out why is so. The problem was in the following:
godot --export
is building the whole solution, not only the game project. I solved that problem with rewriting my Windows XAML App using Avalonia framework. From now on CI/CD is in good condition.Describe the feature / enhancement and how it helps to overcome the problem or limitation: Build only game project or make it possible to specify which one is the game project in the solution.
Describe how your proposal will work, with code, pseudocode, mockups, and/or diagrams: It only makes possible to maintain complicated .NET project infrastructure be consistent and kept in the single repository without using external NuGet repositories and build everything from one place.
If this enhancement will not be used often, can it be worked around with a few lines of script?: I think no. Godot export CLI option has no such parameters.
Is there a reason why this should be core and not an add-on in the asset library?: Because it's the core functionality not game code.