Skip to content
This repository has been archived by the owner on Feb 23, 2021. It is now read-only.

Commit

Permalink
improvement
Browse files Browse the repository at this point in the history
  • Loading branch information
kpodemski committed May 15, 2016
1 parent 0722097 commit 8d48598
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions gulpfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,8 @@ var sass = require('gulp-sass');
var sourcemaps = require('gulp-sourcemaps');
var notify = require("gulp-notify");
var bourbon = require('node-bourbon');
var package = require('./package.json');
var gulpif = require('gulp-if');

var options = package.options;
var options = require('./package.json').options;

var createFolders = [
'./themes/' + options.themeName + '/cache/',
Expand Down Expand Up @@ -70,7 +68,7 @@ gulp.task('compile-css', function(){
.pipe(gulpif(options.sourcemaps, sourcemaps.init()))
.pipe(gulpif(options.sourcemaps, sourcemaps.write('./')))
.pipe(gulp.dest('./themes/' + options.themeName + '/css/'))
.pipe(displayNotification({ message: 'Compilation successful', onLast: true }));
.pipe(displayNotification({ message: 'Compilation successful for ' + options.themeName, onLast: true }));
});

gulp.task('sass:watch', function () {
Expand Down

0 comments on commit 8d48598

Please sign in to comment.