public class HaskellGhciRule extends AbstractBuildRuleWithDeclaredAndExtraDeps implements BinaryBuildRule
| Modifier and Type | Method and Description |
|---|---|
static HaskellGhciRule |
from(BuildTarget buildTarget,
ProjectFilesystem projectFilesystem,
BuildRuleParams params,
SourcePathRuleFinder ruleFinder,
com.facebook.buck.features.haskell.HaskellSources srcs,
com.google.common.collect.ImmutableList<String> compilerFlags,
Optional<SourcePath> ghciBinDep,
Optional<SourcePath> ghciInit,
BuildRule omnibusSharedObject,
com.google.common.collect.ImmutableSortedMap<String,SourcePath> solibs,
com.google.common.collect.ImmutableSortedMap<String,SourcePath> preloadLibs,
com.google.common.collect.ImmutableSet<com.facebook.buck.features.haskell.HaskellPackage> firstOrderHaskellPackages,
com.google.common.collect.ImmutableSet<com.facebook.buck.features.haskell.HaskellPackage> haskellPackages,
com.google.common.collect.ImmutableSet<com.facebook.buck.features.haskell.HaskellPackage> prebuiltHaskellPackages,
boolean enableProfiling,
com.facebook.buck.features.haskell.HaskellPlatform platform,
com.google.common.collect.ImmutableList<SourcePath> extraScriptTemplates) |
com.google.common.collect.ImmutableList<Step> |
getBuildSteps(BuildContext context,
BuildableContext buildableContext) |
Tool |
getExecutableCommand(OutputLabel outputLabel)
Command to execute the output of this rule.
|
SourcePath |
getSourcePathToOutput() |
deprecatedGetExtraDeps, getBuildDeps, getDeclaredDeps, getTargetGraphOnlyDepsequals, getBuildTarget, getDependencies, getProjectFilesystem, getSourcePathOutputs, getType, hasBuildSteps, hashCode, injectFields, isCacheable, toString, updateBuildRuleResolverclone, finalize, getClass, notify, notifyAll, wait, wait, waitcompareTo, getBuildDeps, getBuildTarget, getFullyQualifiedName, getProjectFilesystem, hasBuildSteps, isCacheable, outputFileCanBeCopied, shouldRespectInputSizeLimitForRemoteExecution, toString, updateBuildRuleResolvergetDependencies, getSourcePathOutputsgetTypepublic static HaskellGhciRule from(BuildTarget buildTarget, ProjectFilesystem projectFilesystem, BuildRuleParams params, SourcePathRuleFinder ruleFinder, com.facebook.buck.features.haskell.HaskellSources srcs, com.google.common.collect.ImmutableList<String> compilerFlags, Optional<SourcePath> ghciBinDep, Optional<SourcePath> ghciInit, BuildRule omnibusSharedObject, com.google.common.collect.ImmutableSortedMap<String,SourcePath> solibs, com.google.common.collect.ImmutableSortedMap<String,SourcePath> preloadLibs, com.google.common.collect.ImmutableSet<com.facebook.buck.features.haskell.HaskellPackage> firstOrderHaskellPackages, com.google.common.collect.ImmutableSet<com.facebook.buck.features.haskell.HaskellPackage> haskellPackages, com.google.common.collect.ImmutableSet<com.facebook.buck.features.haskell.HaskellPackage> prebuiltHaskellPackages, boolean enableProfiling, com.facebook.buck.features.haskell.HaskellPlatform platform, com.google.common.collect.ImmutableList<SourcePath> extraScriptTemplates)
public SourcePath getSourcePathToOutput()
getSourcePathToOutput in interface BuildRulepublic com.google.common.collect.ImmutableList<Step> getBuildSteps(BuildContext context, BuildableContext buildableContext)
getBuildSteps in interface BuildRulepublic Tool getExecutableCommand(OutputLabel outputLabel)
BinaryBuildRulegetExecutableCommand in interface BinaryBuildRuleoutputLabel - associated with the executable