@ -97,7 +97,7 @@ func finalize(config Config, buf map[FileType]*bytes.Buffer) (map[FileType]*Comp
|
|||||||
}
|
}
|
||||||
|
|
||||||
dir := filepath.Join(config.OutputDir, string(key))
|
dir := filepath.Join(config.OutputDir, string(key))
|
||||||
os.MkdirAll(dir, os.ModeDir)
|
os.MkdirAll(dir, 0755)
|
||||||
|
|
||||||
destFile := filepath.Join(dir, "app-"+ret[key].Hash+ext)
|
destFile := filepath.Join(dir, "app-"+ret[key].Hash+ext)
|
||||||
ioutil.WriteFile(destFile, bytes, 0644)
|
ioutil.WriteFile(destFile, bytes, 0644)
|
||||||
|
Reference in New Issue
Block a user