1
0
mirror of https://github.com/go-task/task.git synced 2025-08-10 22:42:19 +02:00
This commit is contained in:
Valentin Maerten
2025-05-02 09:53:39 +02:00
parent fc17343fcc
commit 433a9b6cc5

View File

@@ -34,9 +34,13 @@ func Parse(dir string) {
// Read any .env files
readDotEnv(dir)
home, _ := os.UserHomeDir()
fmt.Printf("home : %#v\n", home)
// Create a node for the Task config reader
node, _ := taskrc.NewNode("", dir)
fmt.Printf("node : %#v\n", node)
node2, _ := taskrc.NewNode("", home)
fmt.Printf("node2 : %#v\n", node2)
// Read the Task config file
reader := taskrc.NewReader()
config, _ := reader.Read(node)