sync: Report custom errors

This commit is contained in:
nemunaire 2022-07-11 19:57:33 +02:00
commit c78545c18b
17 changed files with 510 additions and 137 deletions

10
repochecker/epita/main.go Normal file
View file

@ -0,0 +1,10 @@
package main
import (
"srs.epita.fr/fic-server/admin/sync"
)
func RegisterChecksHooks(h *sync.CheckHooks) {
h.RegisterFlagKeyHook(EPITACheckKeyFlag)
h.RegisterFileHook(EPITACheckFile)
}