Skip to content

Commit e36e738

Browse files
authored
Add mage target for custom backend builds (#1267)
* add mage target for custom backend builds * update comment * update wording and move
1 parent 3795667 commit e36e738

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

build/common.go

+7
Original file line numberDiff line numberDiff line change
@@ -251,6 +251,13 @@ func (Build) DarwinARM64() error {
251251
return buildBackend(newBuildConfig("darwin", "arm64"))
252252
}
253253

254+
// Custom allows customizable back-end plugin builds for the provided os and arch.
255+
// Note: Cutomized builds are not officially supported by Grafana, so this option is intended for developers who need
256+
// to create their own custom build targets.
257+
func (Build) Custom(os, arch string) error {
258+
return buildBackend(newBuildConfig(os, arch))
259+
}
260+
254261
// GenerateManifestFile generates a manifest file for plugin submissions
255262
func (Build) GenerateManifestFile() error {
256263
config := Config{}

0 commit comments

Comments
 (0)