Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Gulp - Fronteers

Gulp - Fronteers

15 minute talk in Dutch on Gulp.js. Not really worth anything without the actual talking but a video will be online soon, I was told.

For those who were there, find the Yeoman generator I (pretty much failed to) show afterwards here: https://github.com/pieterbeulque/generator-watermelon

pieterbeulque

May 22, 2014
Tweet

More Decks by pieterbeulque

Other Decks in Technology

Transcript

  1. Grunt file handling 3 reads Concatenate 1 write 1 read

    Coffeescript 1 write 1 read Minify & rename 1 write
  2. var gulp = require('gulp'), gutil = require('gulp-util'), compass = require('gulp-compass'),

    rename = require('gulp-rename'); ! gulp.task('styles', function () { gulp.src('./css/scss/style.scss') .pipe(compass({ style: 'expanded', css: './css', sass: './css/scss', image: './img', javascript: './js', font: './css/fonts' })) .pipe(gulp.dest('./css')); }); ! gulp.task('default', ['styles'], function () { gulp.watch(['./css/scss/*.scss'], ['styles']); });