workingDirectory
Constructor and Description |
---|
GoLinkStep(Path workingDirectory,
com.google.common.collect.ImmutableMap<String,String> environment,
com.google.common.collect.ImmutableList<String> cxxLinkCommandPrefix,
com.google.common.collect.ImmutableList<String> linkCommandPrefix,
com.google.common.collect.ImmutableList<String> linkerFlags,
com.google.common.collect.ImmutableList<String> externalLinkerFlags,
com.google.common.collect.ImmutableList<Path> libraryPaths,
com.facebook.buck.features.go.GoPlatform platform,
Path mainArchive,
com.facebook.buck.features.go.GoLinkStep.BuildMode buildMode,
com.facebook.buck.features.go.GoLinkStep.LinkMode linkMode,
Path output) |
Modifier and Type | Method and Description |
---|---|
com.google.common.collect.ImmutableMap<String,String> |
getEnvironmentVariables(ExecutionContext context)
Returns the environment variables to include when running this
ShellStep . |
protected com.google.common.collect.ImmutableList<String> |
getShellCommandInternal(ExecutionContext context)
Implementations of this method should not have any observable side-effects.
|
String |
getShortName() |
addOptions, execute, getDescription, getDuration, getExitCodeFromResult, getShellCommand, getShellCommandArgsForDescription, getStderr, getStdin, getStdout, getTimeout, getTimeoutHandler, shouldPrintStderr, shouldPrintStdout
public GoLinkStep(Path workingDirectory, com.google.common.collect.ImmutableMap<String,String> environment, com.google.common.collect.ImmutableList<String> cxxLinkCommandPrefix, com.google.common.collect.ImmutableList<String> linkCommandPrefix, com.google.common.collect.ImmutableList<String> linkerFlags, com.google.common.collect.ImmutableList<String> externalLinkerFlags, com.google.common.collect.ImmutableList<Path> libraryPaths, com.facebook.buck.features.go.GoPlatform platform, Path mainArchive, com.facebook.buck.features.go.GoLinkStep.BuildMode buildMode, com.facebook.buck.features.go.GoLinkStep.LinkMode linkMode, Path output)
protected com.google.common.collect.ImmutableList<String> getShellCommandInternal(ExecutionContext context)
ShellStep
getShellCommandInternal
in class ShellStep
public com.google.common.collect.ImmutableMap<String,String> getEnvironmentVariables(ExecutionContext context)
ShellStep
ShellStep
.
By default, this method returns an empty map.
getEnvironmentVariables
in class ShellStep
context
- that may be useful when determining environment variables to include.public String getShortName()