Skip to content

Commit

Permalink
fix: update functionbeat magefile
Browse files Browse the repository at this point in the history
  • Loading branch information
kruskall committed Feb 14, 2025
1 parent 94d11a9 commit 0c8af6e
Showing 1 changed file with 1 addition and 11 deletions.
12 changes: 1 addition & 11 deletions x-pack/functionbeat/magefile.go
Original file line number Diff line number Diff line change
Expand Up @@ -84,11 +84,6 @@ func GolangCrossBuild() error {
return devtools.GolangCrossBuild(devtools.DefaultGolangCrossBuildArgs())
}

// BuildGoDaemon builds the go-daemon binary (use crossBuildGoDaemon).
func BuildGoDaemon() error {
return devtools.BuildGoDaemon()
}

// CrossBuild cross-builds the beat for all target platforms.
func CrossBuild() error {

Expand Down Expand Up @@ -123,11 +118,6 @@ func CrossBuild() error {
return nil
}

// CrossBuildGoDaemon cross-builds the go-daemon binary using Docker.
func CrossBuildGoDaemon() error {
return devtools.CrossBuildGoDaemon()
}

// Update is an alias for update:all. This is a workaround for
// https://github.com/magefile/mage/issues/217.
func Update() { mg.Deps(functionbeat.Update.All) }
Expand Down Expand Up @@ -157,7 +147,7 @@ func Package() {
devtools.MustUsePackaging("functionbeat", "x-pack/functionbeat/dev-tools/packaging/packages.yml")

mg.Deps(Update)
mg.Deps(CrossBuild, CrossBuildGoDaemon)
mg.Deps(CrossBuild)
mg.SerialDeps(devtools.Package, TestPackages)
}

Expand Down

0 comments on commit 0c8af6e

Please sign in to comment.