Package
Value members
Concrete methods
- Value parameters:
- options
command-specific T options
- Returns:
Tries to create BuildOptions based on sharedOptions and exits on error. Override to change this behaviour.
- Definition Classes
Returns the dependency sub-graph of the provided modules, that is, all their JARs and their transitive dependencies' JARs.
Returns the dependency sub-graph of the provided modules, that is, all their JARs and their transitive dependencies' JARs.
Note that this is not exactly the same as resolving those modules on their own (with their versions): other dependencies in the whole dependency sub-graph may bump versions in the provided dependencies sub-graph here.
Here, among the JARs of the whole dependency graph, we pick the ones that were pulled by the provided modules, and might have been bumped by other modules. This is strictly a subset of the whole dependency graph.
This should be overridden instead of run when extending ScalaCommand.
This should be overridden instead of run when extending ScalaCommand.
- Value parameters:
- options
the command's specific set of options
- remainingArgs
arguments remaining after parsing options
- Definition Classes
Inherited methods
The actual sub-command name that was used. If the sub-command name is a list of strings, space is used as the separator. If argvOpt hasn't been defined, it defaults to name.
The actual sub-command name that was used. If the sub-command name is a list of strings, space is used as the separator. If argvOpt hasn't been defined, it defaults to name.
- Inherited from:
- ScalaCommand
- Returns:
the actual Scala CLI base runner name, for SIP it is scala otherwise scala-cli
- Inherited from:
- ScalaCommand
Print scalac
output if passed options imply no inputs are necessary and raw scalac
output
is required instead. (i.e. --scalac-option -help
)
Print scalac
output if passed options imply no inputs are necessary and raw scalac
output
is required instead. (i.e. --scalac-option -help
)
- Value parameters:
- options
command options
- Inherited from:
- ScalaCommand
This implementation is final. Override runCommand instead. This logic is invoked at the start of running every ScalaCommand.
This implementation is final. Override runCommand instead. This logic is invoked at the start of running every ScalaCommand.
- Definition Classes
- ScalaCommand -> CaseApp
- Inherited from:
- ScalaCommand
Inherited fields
Extensions
Inherited extensions
-O -d defaults to --compile-output; if both are defined, --compile-output takes precedence
-O -d defaults to --compile-output; if both are defined, --compile-output takes precedence
- Inherited from:
- BuildCommandHelpers
Implicits
Inherited implicits
- Inherited from:
- CommandHelpers