perlindgren / syncrim

17 stars 4 forks source link

Directory for `models` #45

Open perlindgren opened 1 year ago

perlindgren commented 1 year ago

Problem:

For now the examples generates .json and .gv files in the top level folder. This might not be ideal, as the project gets a bit harder to navigate.

Solution:

We put the generated models somewhere else. The question is where? Some alternatives.

What's your opinion?

onsdagens commented 1 year ago

I think leaving ./target untouched is probably a good idea. Maybe the first option, or making the user choose a workspace directory at startup (either via dialog or a flag)? This could be saved in some sort of config so the choice persists until changed...

perlindgren commented 1 year ago

This is only the examples, so its intended for devs of SyncRim only, just for checking how the serialization of a particular model would look like, so I think keeping a fixed path would be good enough.

onsdagens commented 1 year ago

that's fair, i agree.

perlindgren commented 1 year ago

Using the target directory is also not completely crazy as its a compilation artifact, but I'm not sure

onsdagens commented 1 year ago

Personally i don't know if i'd think to look there, i think a separate directory for SyncRim artifacts makes the most sense