Skip to content

vecnatechnologies/libsass-maven-plugin

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Libsass Maven Plugin

Libsass Maven Plugin uses libsass to compile sass files. Uses Jna to interface with C-library.

Installation

git clone https://github.com/warmuuh/libsass-maven-plugin.git
cd libsass-maven-plugin
mvn install

Usage

Configure plugin in your pom.xml:

<build>
   <plugins>
      <plugin>
         <groupId>wrm</groupId>
         <artifactId>libsass-maven-plugin</artifactId>
         <version>0.1.0-SNAPSHOT</version>
         <executions>
            <execution>
               <phase>generate-resources</phase>
               <goals>
                  <goal>compile</goal>
               </goals>
            </execution>
         </executions>
         <configuration>
            <imgPath>../img</imgPath>
            <inputPath>${basedir}/src/main/sass/</inputPath>
            <outputPath>${basedir}/target/</outputPath>
            <includePath>${basedir}/src/main/sass/plugins/</includePath>
         </configuration>
      </plugin>
   </plugins>
</build>

For windows, linux64 and osx, there are binaries included.

For rest: you probably have to compile libsass and add it by using -Djna.library.path=(path to the binary)

License

MIT License.

About

libsass wrapper for maven

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Java 98.7%
  • CSS 1.3%