Skip to content

Added Less support#14

Open
koen-serry wants to merge 1 commit into
jakewins:masterfrom
koen-serry:master
Open

Added Less support#14
koen-serry wants to merge 1 commit into
jakewins:masterfrom
koen-serry:master

Conversation

@koen-serry

Copy link
Copy Markdown

Added Less support
Haml acts now the same way as less/coffee do
Avoid compiling twice

Haml acts now the same way as less/coffee do
Avoid compiling twice
@tjerkw

tjerkw commented Feb 28, 2013

Copy link
Copy Markdown

I would argue using a separate less plugin like this:

            <!-- This plugin performs less css handling -->
            <plugin>
                <groupId>org.lesscss</groupId>
                <artifactId>lesscss-maven-plugin</artifactId>
                <version>1.3.0</version>
                <configuration>
                    <sourceDirectory>${project.basedir}/src/main/webapp/css</sourceDirectory>
                    <outputDirectory>${project.build.directory}/${project.build.finalName}/css</outputDirectory>
                    <compress>true</compress>
                    <includes>
                        <include>*.less</include>
                    </includes>
                </configuration>
                <executions>
                    <execution>
                        <goals>
                            <goal>compile</goal>
                        </goals>
                    </execution>
                </executions>
            </plugin>

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants