mirror of
https://github.com/caddyserver/caddy.git
synced 2025-02-02 22:27:10 +01:00
Change build program to use new builds package
This commit is contained in:
parent
9e156e0940
commit
3b144c21d0
1 changed files with 2 additions and 2 deletions
|
@ -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() {
|
||||||
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)
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue