grm

package module
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: Aug 11, 2023 License: MIT Imports: 13 Imported by: 5

README

grm

go run ./make

simple build tool

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Opts struct {
	AllowDirty   bool   `long:"allow-dirty"`
	AllowNoTag   bool   `long:"allow-no-tag"`
	SharedFolder string `long:"shared-folder" default:"$HOME/shared"`
}

Functions

func Bin

func Bin(rule string)

func Cd

func Cd(dir string, callback func())

func Docker

func Docker(rule string)

func DockerCopy

func DockerCopy(
	arch string,
	imageTag string,
	src string,
	dst string,
)

func DockerWithCustomVersion added in v0.0.2

func DockerWithCustomVersion(version string) func(rule string)

func FileExists

func FileExists(path string) bool

func FindUnexpected

func FindUnexpected()

func LsUnsigned

func LsUnsigned() []string

func Main

func Main(rules map[string]func(rule string))

func Pkg

func Pkg(rule string)

func Run

func Run(env []string, exe string, args ...string)

func RunDocker

func RunDocker(container string, cmd ...string)

func Sign2

func Sign2(rule string)

func Steps

func Steps(steplist ...func(rule string)) func(string)

Types

This section is empty.

Jump to

Keyboard shortcuts

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