benthayer / git-gud

Wanna git gud? Then get git-gud, and git gud at git!
MIT License
414 stars 43 forks source link

Check to see if there are any level files which aren't used #271

Open benthayer opened 4 years ago

benthayer commented 4 years ago

Right now, the level template copies over several files which aren't necessarily used. For example, test.spec might not be used if a level is fairly simple, and filename.txt is copied over for the sake of an example, but is not likely to be used by most levels.

sahansk2 commented 4 years ago

To clarify, is this an issue that deal with current levels, or is this a make_level.py issue? Dealing with files being copied over makes it seem like a make_level.py issue, but the issue title implies that we should run tests on pre-existing levels to see if they're using the files.

edit: Is this related to #272 ?

benthayer commented 4 years ago

This is unrelated to #272. This is also not really a make_level.py issue. The issue is really that make_level.py is being too helpful and is creating levels with everything you could possibly need, and you might forget to remove something if you don't need it