[Koha-devel] Introduce the use of Grunt or Gulp?

Owen Leonard oleonard at myacpl.org
Thu Feb 11 14:24:04 CET 2016


> I agree, although for the specific purpose of compiling LESS,
> minifying Javascript (and doing that dynamically for the purpose of a
> dev setup), at first blush Jake looks like it might be sufficient.

As an example, here is the range of tasks covered by an introduction
to Gulp (https://markgoodyear.com/2014/01/getting-started-with-gulp/):

Sass compile (gulp-ruby-sass)
Autoprefixer (gulp-autoprefixer)
Minify CSS (gulp-cssnano)
JSHint (gulp-jshint)
Concatenation (gulp-concat)
Uglify (gulp-uglify)
Compress images (gulp-imagemin)
LiveReload (gulp-livereload)
Caching of images so only changed images are compressed (gulp-cache)
Notify of changes (gulp-notify)
Clean files for a clean build (del)

(And yes I will also push for us to convert to Sass).

  -- Owen

-- 
Web Developer
Athens County Public Libraries
http://www.myacpl.org


More information about the Koha-devel mailing list