name

package
v0.32.0 Latest Latest
Warning

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

Go to latest
Published: Sep 16, 2017 License: MIT Imports: 5 Imported by: 0

Documentation

Overview

Package name provides name template logic for the final archive, formulae, etc.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func For

func For(ctx *context.Context, target buildtarget.Target) (string, error)

For returns the name for the given context, goos, goarch and goarm.

func ForBuild added in v0.23.0

func ForBuild(ctx *context.Context, build config.Build, target buildtarget.Target) (string, error)

ForBuild return the name for the given context, goos, goarch, goarm and build, using the build.Binary property instead of project_name.

func ForChecksums added in v0.30.4

func ForChecksums(ctx *context.Context) (string, error)

ForChecksums returns the filename for the checksums file based on its template

Types

This section is empty.

Jump to

Keyboard shortcuts

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