Archived
1
0

Moves TODOs to github

This commit is contained in:
Jip J. Dekker 2016-04-17 12:50:26 +02:00
parent 57babbd052
commit 677c167df4
4 changed files with 1 additions and 11 deletions

View File

@ -23,8 +23,7 @@ import (
var bookCmd = &cobra.Command{
Use: "book",
Short: "Generate library songbook",
// TODO: Write description
Long: ``,
Long: ``,
Run: func(cmd *cobra.Command, args []string) {
path, opts := getSettings()
compiler.MakeBook(path, opts)

View File

@ -53,7 +53,6 @@ func MakeBook(path string, opts *settings.Settings) {
helpers.Check(err, "error executing book template")
f.Close()
// TODO: Better error messages when there is an error compiling latex
cmd := exec.Command("latexmk", "-silent", "-pdf", "-cd", texPath)
out, err := cmd.CombinedOutput()
if err != nil {
@ -71,7 +70,6 @@ func MakeBook(path string, opts *settings.Settings) {
"error": err,
}).Error("failed to clean songbook latex files")
}
// TODO: Make optional by flag
err = os.Remove(texPath)
helpers.Check(err, "could not remove songbook latex template")
}

View File

@ -31,7 +31,6 @@ var (
// PrepareLilypond sets all arguments and options for the Lilypond
// compilation function using the given settings
func PrepareLilypond(opts *settings.Settings) {
// TODO: Escape these directory strings
// Adds all includes to the lilypond arguments
for _, dir := range opts.LilypondIncludes {
lilypondArgs = append(lilypondArgs, "--include="+dir)

View File

@ -19,9 +19,3 @@ import "github.com/jjdekker/ponder/cmd"
func main() {
cmd.Execute()
}
// TODO: Make a command to check that settings are legal
// TODO: Add a clean command
// TODO: Add support for Ly files to the add command
// TODO: Allow an latex input file for styling
// TODO: Sort output into categories