Archived
1
0

Adds filewalker calls to CompileDir

This commit is contained in:
Jip J. Dekker 2016-03-19 17:09:40 +01:00
parent 2fcc9e8488
commit 0f1d0771ee

View File

@ -25,7 +25,9 @@ import (
// CompileDir compiles all lilypond files and makes all
// sheet music available in the OutputDir
func CompileDir(path string, opts *settings.Settings) {
// Find all scores
scores, collector := generateScores()
filepath.Walk(path, compilePath(path, opts, collector))
}
func generateScores() ([]*settings.Score, func(string, os.FileInfo) error) {