natsukagami / kjudge

A simple system for hosting competitive programming contests.
GNU Affero General Public License v3.0
22 stars 11 forks source link

Refactor compile.go and exclude some files during compilation #99

Closed minhnhatnoe closed 1 year ago

minhnhatnoe commented 1 year ago

Uploaded files recognized by Kjudge ("statements.pdf", "statements.md", "compare", ".stages") are excluded during compilation. Uploaded .sh files, however, are not excluded.

Also broke compile.go into multiple small files.

minhnhatnoe commented 1 year ago

Just realized there was a couple of logic errors, so nuking this branch.