magetasks

package module
v0.9.2 Latest Latest
Warning

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

Go to latest
Published: Mar 28, 2024 License: Apache-2.0 Imports: 14 Imported by: 0

README

= A general purpose, reusable Mage tasks

This repo holds a list of reusable Mage tasks to be used in other projects.

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrNoBuilderForArtifact = errors.New("no builder for artifact found")

ErrNoBuilderForArtifact when no builder for artifact is found.

View Source
var ErrNoPublisherForArtifact = errors.New("no publisher for artifact found")

ErrNoPublisherForArtifact when no publisher for artifact is found.

Functions

func Build added in v0.5.0

func Build(ctx context.Context) error

Build will build project artifacts, binaries and images.

func Check

func Check(ctx context.Context)

Check will run all lints checks.

func Clean

func Clean()

Clean will clean project files.

func Configure added in v0.5.0

func Configure(cfg config.Config)

Configure will set up a project to be built.

func Publish added in v0.5.0

func Publish(ctx context.Context)

Publish will publish built artifacts to remote site.

func Test

func Test(ctx context.Context)

Test will execute regular unit tests.

Types

This section is empty.

Directories

Path Synopsis
pkg
git
tests
example/build/overrides
Package overrides contains overrides for the project.
Package overrides contains overrides for the project.
example/cmd/dummy
Dummy command
Dummy command
example/cmd/other
Other command
Other command
example/cmd/sampleimage
Sampleimage command
Sampleimage command
example/pkg/metadata
Package metadata contains meta information about the project.
Package metadata contains meta information about the project.

Jump to

Keyboard shortcuts

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