internal

package
v0.0.0-...-a3cf1b8 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 26, 2024 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New() drone.Plugin

Types

type Plugin

type Plugin struct {
	drone.Base

	// 控制程序
	Binary config.Binary `default:"${BINARY}" json:"binary,omitempty"`
	// 项目信息
	Project config.Project `default:"${PROJECT}" json:"project,omitempty"`
	// 输出文件
	Output gox.Slice[*config.Output] `default:"${OUTPUT}" json:"output,omitempty"`
	// 输出文件
	Outputs gox.Slice[*config.Output] `default:"${OUTPUTS}" json:"outputs,omitempty"`
	// 调试信息
	Debug config.Debug `default:"${DEBUG}" json:"debug,omitempty"`
	// 内存对齐
	Alignment config.Alignment `default:"${ALIGNMENT}" json:"alignment,omitempty"`
	// 代码检查
	Lint config.Lint `default:"${LINT}" json:"lint,omitempty"`
	// 测试
	Test config.Test `default:"${TEST}" json:"test,omitempty"`
	// 压缩
	Compress config.Compress `default:"${COMPRESS}" json:"compress,omitempty"`
	// contains filtered or unexported fields
}

func (*Plugin) Config

func (p *Plugin) Config() drone.Config

func (*Plugin) Fields

func (p *Plugin) Fields() gox.Fields[any]

func (*Plugin) Setup

func (p *Plugin) Setup() (err error)

func (*Plugin) Steps

func (p *Plugin) Steps() drone.Steps

Directories

Path Synopsis
internal

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL