summaryrefslogtreecommitdiff
path: root/Magefile.go
diff options
context:
space:
mode:
authorPaul Buetow <paul@buetow.org>2026-02-24 09:45:02 +0200
committerPaul Buetow <paul@buetow.org>2026-02-24 09:45:02 +0200
commitf2d79f6459bbe1aa9bae2946e9773141cb184463 (patch)
treee683b901d2432ac7e28cd6e80f468da38edc280b /Magefile.go
parent7fc16d6c98feae7aaee58666dc552384ceb4895e (diff)
tui: wire full dashboard tabs and improve overview summaries
Diffstat (limited to 'Magefile.go')
-rw-r--r--Magefile.go4
1 files changed, 3 insertions, 1 deletions
diff --git a/Magefile.go b/Magefile.go
index 50d2bea..edc106c 100644
--- a/Magefile.go
+++ b/Magefile.go
@@ -51,19 +51,21 @@ func Default() {
// Build compiles the binary.
func Build() error {
+ mg.Deps(BpfBuild)
return sh.RunWithV(goEnv(), "go", "build", "-tags", "netgo", "-ldflags", "-w -extldflags \"-static\"",
"-o", binaryName, "./cmd/ior/main.go")
}
// GoBuildRace compiles the binary with the race detector enabled.
func GoBuildRace() error {
+ mg.Deps(BpfBuild)
return sh.RunWithV(goEnv(), "go", "build", "-tags", "netgo", "-ldflags", "-w -extldflags \"-static\"",
"-race", "-o", binaryName, "./cmd/ior/main.go")
}
// All builds the BPF object and the Go binary.
func All() error {
- mg.SerialDeps(BpfBuild, Build)
+ mg.SerialDeps(Build)
return nil
}