Commit 3b144c21 authored by Matthew Holt's avatar Matthew Holt

Change build program to use new builds package

parent 9e156e09
...@@ -24,7 +24,7 @@ import ( ...@@ -24,7 +24,7 @@ import (
"os/exec" "os/exec"
"path/filepath" "path/filepath"
"github.com/caddyserver/buildworker" "github.com/caddyserver/builds"
) )
var goos, goarch, goarm string var goos, goarch, goarm string
...@@ -45,7 +45,7 @@ func main() { ...@@ -45,7 +45,7 @@ func main() {
log.Fatal(err) log.Fatal(err)
} }
ldflags, err := buildworker.MakeLdFlags(filepath.Join(pwd, "..")) ldflags, err := builds.MakeLdFlags(filepath.Join(pwd, ".."))
if err != nil { if err != nil {
log.Fatal(err) log.Fatal(err)
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment