[keycloak-dev] Less CSS - no reason to keep them both in git

Viliam Rockai vrockai at redhat.com
Wed Oct 16 12:53:09 EDT 2013


Hi,

In admin-ui-styles module we keep both .less and .css files [1]. CSS is 
rendered from the less source. Gabriel edits less files only, then 
compiles the CSS with it and provides us both. I don't see a reason to 
keep both .css and .less files in the git.

I suggest deleting CSS files which are created from less templates from 
git and use the less compile maven plugin [2] to compile them. I've just 
tried this approach and it works.

Viliam

[1] 
https://github.com/keycloak/keycloak/tree/master/admin-ui-styles/src/main/resources/META-INF/resources/admin-ui/css
[2] https://github.com/marceloverdijk/lesscss-maven-plugin


More information about the keycloak-dev mailing list