refactoring; began implementing embedding

This commit is contained in:
Daniel Fichtinger 2024-11-25 14:55:45 -05:00
parent 12ebba687b
commit 4d1b18fd12
11 changed files with 96 additions and 50 deletions

View file

@ -6,7 +6,7 @@ import (
"fmt"
"os"
"github.com/ficcdaf/zona/internal/build"
"github.com/ficcdaf/zona/internal/builder"
)
// // validateFile checks whether a given path
@ -41,7 +41,8 @@ func main() {
}
}
err := build.Traverse(*rootPath, "foobar")
settings := builder.GetSettings()
err := builder.Traverse(*rootPath, "foobar", settings)
if err != nil {
fmt.Printf("Error: %s\n", err.Error())
}