Restructure the repository and handle addon files#60
Restructure the repository and handle addon files#60marcinn merged 1 commit intoMaSzyna-Reloaded:mainfrom
Conversation
|
I still don't really like the idea of having dependencies in the root folder and copying them over instead of just having them in a There's a high chance to overwrite files by mistake and having copy of that just makes kinda no sense to me. I haven't look through everything yet and checked it all, will get to that in a few hours |
|
Demo is just a project which can disappear from this repo. All sources must be outside the project, because this is an addon. Just imagine that there is no demo folder. The same issue will be with the Game and MSED repositories, because libmaszyna will not be stored under project's addons dir.
Yes. This is the case for all dependencies, which will be under your development, especially when you switch to the target project (Game or Editor). To solve this case you can use symlinks (the easiest and straightforward way). You can use them on Windows by enabling developer mode. It is up to you. Personally I would stick with symlinks, but they will not be committed to the repository. |
|
Switching to draft.
It works for existing files, however Scons is DELETING your new files during next build. This is unacceptable. After a texting on the Scons Discord, they asked me to report a bug. Looks like we're stuck for a while. I'll try to workaround this by manually checking for the existence of the symlink. |
5901bb1 to
ea44f37
Compare
|
applied workaround |
K, thx for clarification |
carmel4a
left a comment
There was a problem hiding this comment.
As I've told on discord. I'm not sure if .gitigore and few commits from main merged successfully, but it seems to be ok.
ea44f37 to
9c3bb59
Compare
Solves #59