@Mojo(name="scss-lint", defaultPhase=COMPILE, executionStrategy="once-per-session", threadSafe=true) public class SCSSLintMojo extends AbstractSassMojo
Modifier and Type | Class and Description |
---|---|
static class |
SCSSLintMojo.ExitCode
scss-lint exit codes and messages.
|
buildDirectory, destination, failOnError
Constructor and Description |
---|
SCSSLintMojo() |
Modifier and Type | Method and Description |
---|---|
protected void |
buildBasicSassScript(StringBuilder sassScript)
Builds the basic sass script.
|
void |
execute()
Execute the lint script.
|
executeSassScript, getResources, getSassSourceDirectory, isSkip
getLog, getPluginContext, setLog, setPluginContext
public void execute() throws MojoExecutionException, MojoFailureException
MojoExecutionException
- when the execution of the plugin
erroredMojoFailureException
- when the Sass compilation failsMojo.execute()
protected void buildBasicSassScript(StringBuilder sassScript) throws MojoExecutionException
buildBasicSassScript
in class AbstractSassMojo
sassScript
- the sass scriptMojoExecutionException
- the mojo execution exceptionCopyright © 2014–2019 GeoDienstenCentrum. All rights reserved.