richelbilderbeek / correct_cpp

C++ course using all tools to deliver quality code
GNU General Public License v3.0
3 stars 27 forks source link

Allow for filenames other than main.cpp #10

Closed richelbilderbeek closed 6 years ago

richelbilderbeek commented 6 years ago

check_doc or other scripts assume main.cpp is present. Those scripts should check any .cpp.

Simplest example: add a folder reject_3 in hello, as a copy of reject_2. Within reject_3, rename main.cpp to reject_3.cpp. This now fails (the undocumented .cpp is undetected).