Bug 11896

Summary: add tools for compiling LESS files
Product: Koha Reporter: Galen Charlton <gmcharlt>
Component: Architecture, internals, and plumbingAssignee: Galen Charlton <gmcharlt>
Status: RESOLVED DUPLICATE QA Contact: Testopia <testopia>
Severity: enhancement    
Priority: P5 - low CC: mtompset, veron
Version: Main   
Hardware: All   
OS: All   
GIT URL: Change sponsored?: ---
Patch complexity: --- Documentation contact:
Documentation submission: Text to go in the release notes:
Version(s) released in:
Circulation function:
Bug Depends on: 11601    
Bug Blocks:    

Description Galen Charlton 2014-03-05 19:40:11 UTC
There should be Makefile targets added for compiling CSS files for the Bootstrap theme from LESS files.

The general idea is that during installation, the compilation would occur automatically.  There should also be a script available, which would presumably be invoked by the Makefile targets, so that users of Git-mode installations can recompile at any time.

This is meant as a tool for installation and distribution of changes -- it is not necessarily expected that users (yet) would be editing the LESS files as part of customizations; instead, relying on *UserCSS and external stylesheets would still be the norm.  This may change.
Comment 1 Galen Charlton 2014-03-05 19:40:35 UTC
Link to some notes that Owen wrote up:

http://wiki.koha-community.org/wiki/Working_with_Bootstrap_OPAC_LESS_files
Comment 2 Galen Charlton 2014-03-05 19:49:04 UTC
One suggestion by Owen is using Grunt <http://gruntjs.com/> as part of the toolchain.
Comment 3 Mark Tompsett 2014-03-05 20:12:11 UTC
My worry is the "let's add this technology" may raise the bar required for development and testing. A nice link on how to use the technology would be required for those willing to test but not knowledgeable in these arcane mystical things.
Comment 4 Owen Leonard 2019-03-05 18:43:21 UTC

*** This bug has been marked as a duplicate of bug 19474 ***