package buildinfo

import "src.elv.sh/pkg/buildinfo"

Package buildinfo contains build information.

Build information should be set during compilation by passing -ldflags "-X src.elv.sh/pkg/buildinfo.Var=value" to "go build" or "go get".

Index

Package Files

buildinfo.go json.go

Constants

const Version = "v0.16.0"

Version identifies the version of Elvish. On development commits, it identifies the next release.

Variables

var Program prog.Program = program{}

Program is the buildinfo subprogram.

var Reproducible = "false"

Reproducible identifies whether the build is reproducible. This can be overriden when building Elvish; see PACKAGING.md for details.

var VersionSuffix = "-dev.unknown"

VersionSuffix is appended to Version in the output of "elvish -version" and "elvish -buildinfo" to build the full version string. This can be overriden when building Elvish; see PACKAGING.md for details.

Package buildinfo imports 5 packages (graph) and is imported by 1 packages. Updated 3 weeks ago.

.
Tools for package owners.