Roundcubemail: Elastic: check compiled css files into git

Created on 8 May 2018  路  4Comments  路  Source: roundcube/roundcubemail

This would make it easier to deploy Roundcube without having lessc installed on the target machine. I suggest to move the .less files into a src folder and push the built CSS files with each change. That's quite common for libraries that need to be built (e.g. node modules) and still allows one to customize the skin using the source files.

enhancement

Most helpful comment

It's common practice, especially for npm modules to have both the sources and the built version checked in. Also works with branches ;-)

All 4 comments

Sounds cumbersome, especially when we'll have multiple branches.

It's common practice, especially for npm modules to have both the sources and the built version checked in. Also works with branches ;-)

I agree, I do not want to install node on the server only because of this.

Since this is PHP, why not install https://github.com/wikimedia/less.php? It has the same command.
See https://github.com/wikimedia/less.php#command-line

Was this page helpful?
0 / 5 - 0 ratings