Skip to content

Commit

Permalink
build: Set up a build target in magefile
Browse files Browse the repository at this point in the history
Signed-off-by: Mahendra Paipuri <mahendra.paipuri@gmail.com>
  • Loading branch information
mahendrapaipuri committed Jan 17, 2024
1 parent 91d7e3b commit 3cbb516
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion Magefile.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,16 @@ package main
import (
// mage:import
build "github.com/grafana/grafana-plugin-sdk-go/build"
"github.com/magefile/mage/mg"
)

// Build is copied from Grafana's SDK (build package), because the
// Arrow dependency doesn't support Linux ARM in the build matrix. I've removed
// it from the listing here.
func Build() {
b := build.Build{}
mg.Deps(b.Linux, b.Windows, b.Darwin, b.DarwinARM64, b.LinuxARM64, b.LinuxARM)
}

// Default configures the default target.
var Default = build.BuildAll
var Default = Build

0 comments on commit 3cbb516

Please sign in to comment.