Moves TODOs to github
This commit is contained in:
parent
57babbd052
commit
677c167df4
@ -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)
|
||||
|
@ -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")
|
||||
}
|
||||
|
@ -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)
|
||||
|
6
main.go
6
main.go
@ -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
|
||||
|
Reference in New Issue
Block a user