Luci0 / jsass

Java sass compiler using libsass.

Home Page:http://jsass.rtfd.org/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Build Status Quality Gate Dependency Status Gratipay Documentation Status Javadoc Status

Java sass compiler

Feature complete java sass compiler using libsass version 3.4.7.

The most advantage of jsass is to hide the libsass complexity from the developer and provide a more java like way.

For complete documentation, see jsass.rtfd.org.

Related (third-party) projects

Statistics

Lines Lines of code Comment lines density complexity / function

Bugs Vulnerabilities Code Smells Duplications Coverage

Example

There is a webapp example containing a servlet sample implementation, to illustrate the way you may integrate jsass into your webapp.

Changelog

You can find the changelog in our documentation at jsass.rtfd.org/en/latest/changelog.html

Compatibility

Compatibility
Java 7 not supported, jsass uses Java 8 features like streams and lambdas!
Java 8 fully supported
Java 9 may be supported, but not tested
CentOS 5 (x86_64) fully supported and tested
CentOS 6 (x86_64) fully supported and tested
CentOS 7 (x86_64) fully supported and tested
ubuntu 12.04 (x86_64) fully supported and tested
ubuntu 14.04 (x86_64) fully supported and tested
Windows 32bit build broken (not analyzed)
Windows 64bit supported, but not tested
OS X fully supported and tested

A note to Windows: jsass may also work on Windows. But at the moment there are no automated tests and the platform is not well tested!

Gradle tasks you should know

gradle check runs checkstyle, pmd, junit locally.

gradle runDockerTests runs junit tests on all docker containers.

gradle buildNativeLibs build the native libs, using our build docker container.

gradle buildDocker build latest version of all docker containers locally. This should only used for development purpose, the containers are available on Docker Hub!

Build scripts

Our build scripts are mostly deprecated in favor of the gradle tasks!

./bin/make-libjsass-darwin.sh build the native lib for OS X.

./bin/make-libjsass-linux-x64.sh build the native lib for Linux, using our build docker container. This is equivalent to gradle buildDockerBuildLinux64 buildNativeLinux64Libs!

./bin/make-libjsass-windows-x32.sh build the native lib for Windows, using our build docker container. This is equivalent to gradle buildDockerBuildWindows32 buildNativeWindows32Libs!

./bin/make-libjsass-windows-x64.sh build the native lib for Windows, using our build docker container. This is equivalent to gradle buildDockerBuildWindows64 buildNativeWindows64Libs!

How to make a release

$ ./gradlew clean release
$ git checkout $(git describe --abbrev=0)
$ ./gradlew clean uploadArchives
$ git checkout master
$ git merge --no-ff $(git describe --abbrev=0 develop)
$ git push origin master
$ git checkout develop

Dont forget to release the artifact from staging repository!

License

MIT-License

About

Java sass compiler using libsass.

http://jsass.rtfd.org/

License:MIT License


Languages

Language:CSS 53.1%Language:Java 32.2%Language:C 10.8%Language:Shell 2.6%Language:CMake 1.3%