mage: mkdirall
This commit is contained in:
parent
884cf5a0e2
commit
8b57a92533
2
mage.go
2
mage.go
|
@ -94,7 +94,7 @@ func buildBins(goos, goarch string) {
|
||||||
|
|
||||||
d := filepath.Join(wd, "./bin")
|
d := filepath.Join(wd, "./bin")
|
||||||
|
|
||||||
os.Mkdir(filepath.Join(d, goos, goarch), 0777)
|
os.MkdirAll(filepath.Join(d, goos, goarch), 0777)
|
||||||
|
|
||||||
for _, pkg := range []string{"route-httpagent", "route-cli", "routed", "terraform-provider-route"} {
|
for _, pkg := range []string{"route-httpagent", "route-cli", "routed", "terraform-provider-route"} {
|
||||||
env := []string{"GOOS=" + goos, "GOARCH=" + goarch}
|
env := []string{"GOOS=" + goos, "GOARCH=" + goarch}
|
||||||
|
|
Loading…
Reference in New Issue