summaryrefslogtreecommitdiff
path: root/cmd/ponzu/options.go
diff options
context:
space:
mode:
authorSteve Manuel <nilslice@gmail.com>2016-12-17 00:57:04 -0800
committerSteve Manuel <nilslice@gmail.com>2016-12-17 00:57:04 -0800
commit101aa9c8607f7449159d73e36b4026bca9609832 (patch)
tree09d25f07bfb4e2c354e97d65e000d30094316ff2 /cmd/ponzu/options.go
parent024dcc13733c55722cbd65a5fd9c42d63664f889 (diff)
add debug for build step
Diffstat (limited to 'cmd/ponzu/options.go')
-rw-r--r--cmd/ponzu/options.go4
1 files changed, 4 insertions, 0 deletions
diff --git a/cmd/ponzu/options.go b/cmd/ponzu/options.go
index dc2a573..beaa26d 100644
--- a/cmd/ponzu/options.go
+++ b/cmd/ponzu/options.go
@@ -204,6 +204,7 @@ func copyDirWithPlan(plan copyPlan) error {
err := filepath.Walk(plan.srcPath, func(path string, info os.FileInfo, err error) error {
if err != nil {
return err
+ fmt.Println("Error in walkFn", plan)
}
if info.IsDir() {
@@ -217,6 +218,7 @@ func copyDirWithPlan(plan copyPlan) error {
err := os.MkdirAll(dirPath, os.ModeDir|os.ModePerm)
if err != nil {
return err
+ fmt.Println("Error in os.MkdirAll", plan)
}
return nil
@@ -246,12 +248,14 @@ func copyDirWithPlan(plan copyPlan) error {
err = copyFile(info, src, dst)
if err != nil {
+ fmt.Println("Error in copyFile", plan, info, src, dst)
return err
}
return nil
})
if err != nil {
+ fmt.Println("Error in copyDirWithPlan", plan)
return err
}