compile

package
v0.17.2 Latest Latest
Warning

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

Go to latest
Published: May 3, 2023 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Binaries

type Binaries struct {
	Local Binary
	Plan  Binary
}

func Compile

func Compile(ctx context.Context, ui *ui.UI, discovered *discover.Discovered) (*Binaries, error)

discovered: Discovered actions projects

1. Check hash for each dir

2. Compile for each discovered dir

2.1. Copy to tmp dir

2.2. Generate main file

3. Move binary to .shuttle/actions/binary-<hash>

type Binary

type Binary struct {
	Path string
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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