Documentation ¶
Overview ¶
Package platforms determins file names and extensions based on the current operating system.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DarwinFallback ¶ added in v1.12.0
DarwinFallback Darwin arm64 was supported since 4.1.0, before 4.1.0, fall back to x86_64
func DetermineBazelFilename ¶
DetermineBazelFilename returns the correct file name of a local Bazel binary.
func DetermineExecutableFilenameSuffix ¶
func DetermineExecutableFilenameSuffix() string
DetermineExecutableFilenameSuffix returns the extension for binaries on the current operating system.
func GetPlatform ¶
GetPlatform returns a Bazel CI-compatible platform identifier for the current operating system. TODO(fweikert): raise an error for unsupported platforms
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.