gobuilder

package
v0.0.0-...-9aa2fb4 Latest Latest
Warning

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

Go to latest
Published: Jun 20, 2021 License: Unlicense Imports: 8 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DetermineProjectPackagePath

func DetermineProjectPackagePath(projectName string) string

DetermineProjectPackagePath is used to determine target project path for the following execution of a Go builder. Starts from a current working directory, climbs up to a parent folder with the target name and returns its path as a result.

Types

type GoBuider

type GoBuider struct {
	// GoProjectPath is a path to the target Go-project
	GoProjectPath string

	// BuildFileName stores executable file name
	BuildFileName string

	// OutputFolderPath points to output executable parent folder
	OutputFolderPath string
	// contains filtered or unexported fields
}

GoBuider helps to build a target Go project

func (*GoBuider) Build

func (builder *GoBuider) Build()

Build compiles target project and writes output to the target output folder

func (*GoBuider) Dispose

func (builder *GoBuider) Dispose()

Dispose required to implement integration.LeakyAsset

func (*GoBuider) Executable

func (builder *GoBuider) Executable() string

Executable returns full path to an executable target file

Jump to

Keyboard shortcuts

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