-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. Weβll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Definition of 'Done' #7
Comments
This is not an error but a mere warning, in fact GDevelop will display the same messages in your console if you export it there and still tell you the export was successful without any additional messages in the UI. Those copy errors usually come from old unused resources that were not removed from the resources tab in GDevelop, you can do so by right clicking on any resources there and then selecting "remove unused resources" in the context menu. I can add a flag to treat those as errors if you want, but I don't think they should be by default as they are just warnings? |
I agree warnings should not terminate with nonzero unless someone activates a "--pedantic" options - which exists on GNU compilers and quite more programming languages. I see need for that both in the IDE as well on gdevelop - maybe something like that should be improved in the main product? Another thing I can not easily agree on is that these messages are warnings only. I'm no pro in gdevelop, and the message contains the keyword "error". If it is a warning make it sound like a warning. But that again would be something to be fixed in the main project... |
Well, it is technically a filesystem error as a file failed to copy, but GDevelop knows that this isn't an important file and that this filesystem error can be ignored, marking the build as successful. The messages are generated by the GDevelop core library that is merely downloaded and executed by gdexporter, I have no control over those. |
I opened a feature request on the main project instead. |
When running gdexporter on one project, I get this output:
It looks to me as if there is a problem in my project. Indeed the files do not exist yet may be referenced in the game. This issue is project related and i need to fix it.
Puzzling though is the fact that gdexporter terminates with exit code 0, making this look like a success.
I suggest returning nonzero on any failure. Maybe a 1 for project related issues and 2 for more fatal issues.
The text was updated successfully, but these errors were encountered: