···5353 helpers.Check(err, "error executing book template")
5454 f.Close()
55555656- // TODO: Better error messages when there is an error compiling latex
5756 cmd := exec.Command("latexmk", "-silent", "-pdf", "-cd", texPath)
5857 out, err := cmd.CombinedOutput()
5958 if err != nil {
···7170 "error": err,
7271 }).Error("failed to clean songbook latex files")
7372 }
7474- // TODO: Make optional by flag
7573 err = os.Remove(texPath)
7674 helpers.Check(err, "could not remove songbook latex template")
7775}
-1
compiler/lilypond.go
···3131// PrepareLilypond sets all arguments and options for the Lilypond
3232// compilation function using the given settings
3333func PrepareLilypond(opts *settings.Settings) {
3434- // TODO: Escape these directory strings
3534 // Adds all includes to the lilypond arguments
3635 for _, dir := range opts.LilypondIncludes {
3736 lilypondArgs = append(lilypondArgs, "--include="+dir)
-6
main.go
···1919func main() {
2020 cmd.Execute()
2121}
2222-2323-// TODO: Make a command to check that settings are legal
2424-// TODO: Add a clean command
2525-// TODO: Add support for Ly files to the add command
2626-// TODO: Allow an latex input file for styling
2727-// TODO: Sort output into categories