Temple of The Roguelike Forums
Game Discussion => Early Dev => Topic started by: Krice on March 19, 2018, 10:42:18 AM
-
You can follow the development of this project on github:
https://github.com/paulpekkarinen/Prowler
This is my first project on git, and it did add some VS project files in the repository, but whatever. I'm still making local backups without git (and with it, since it's making local clones also), because I don't trust it. But this makes possible for people to follow the development on source code level. The idea I have here is use procedural style in C++ with some oop features.
-
I tried to remove project files (.sln and .vxproj) from the repository, but at least adding them to .gitignore didn't work. If someone has done this before, I'd like to know how, using Visual Studio's github extension. It can't be this hard, can it?
-
Adding files to .gitignore means that git won't track these files. But if you added projects to repository already, you need to *forget* that files first, by git rm --cached filename.filextension should do the work. Marked files will be removed from repository on next commit, but they will remain in your local directory.
Not sure how these cli commands transpiles to VS extension, thought.
-
Well, the extension name is vcxproj, not vxproj (missing 'c' letter), so let's see what happens to those later when gitignore has the proper filename ext. Those project files just seem like not something to track in repo.
-
I decided to keep project files. If VS wants to add them it's probably some kind of idea there. And that's probably for other people who have VS so they don't have to setup a project.
-
Even at the beginning of this project I think Datatype module was a brilliant thing to do. Without it I would already have like 20 more source files in the project. It already feels like less things to maintain, even the amount of source code is of course the same. Datatype will be quite large at some point, but it's somehow a thematic file containing those pesky and boring parts of a source code.