From 0f1d0771ee99da42ba462b9a24495c940e86d657 Mon Sep 17 00:00:00 2001 From: "Jip J. Dekker" Date: Sat, 19 Mar 2016 17:09:40 +0100 Subject: [PATCH] Adds filewalker calls to CompileDir --- compiler/compile.go | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/compiler/compile.go b/compiler/compile.go index 2cdf308..9942da8 100644 --- a/compiler/compile.go +++ b/compiler/compile.go @@ -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) {