Skip to content
This repository has been archived by the owner on May 14, 2024. It is now read-only.
/ jsass Public archive

MIRROR Java sass compiler using libsass.

License

Notifications You must be signed in to change notification settings

bit3/jsass

Repository files navigation

Build Status Quality Gate Dependency Status Gratipay Documentation Status Javadoc Status

Java sass compiler

Feature complete java sass compiler using libsass version 3.4.

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.

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 release
$ git checkout $(git describe --abbrev=0)
$ ./gradlew 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