Documentation ¶
Index ¶
Constants ¶
View Source
const ArtifactToplevelDir = "bin"
ArtifactToplevelDir names the output location for binaries.
View Source
const Banner = "artifact-dev"
Banner names the default output subdirectory.
View Source
const BannerParameter = "FACTORIO_BANNER"
BannerParameter controls the environment variable for overriding the default Banner subdirectory.
Example configuration: FACTORIO_BANNER=hello-0.0.1
View Source
const PlatformBlocklistParameter = "FACTORIO_PLATFORM_BLOCKLIST"
PlatformBlocklistParameter controls the environment variable for overriding the default PlatformBlocklist.
Example configuration: FACTORIO_PLATFORM_BLOCKLIST=//
View Source
const Version = "0.0.6"
Version is semver.
Variables ¶
View Source
var PlatformBlocklist = regexp.MustCompile(`(android\/.*)|(ios\/.*)`)
PlatformBlocklist excludes some fragile targets.
Functions ¶
Types ¶
type Platform ¶
type Platform struct { // Os denotes a high-level environment. // // Example: "linux" Os string // Arch denotes a low-level environment. // // Example: "amd64" Arch string }
Platform models a basic targetable execution configuration.
Click to show internal directories.
Click to hide internal directories.