Add notify to grunt

pull/1707/head
Abdullah Almsaeed 2016-10-15 13:19:47 -04:00
parent fe617b68ca
commit 92775041a4
2 changed files with 21 additions and 3 deletions

13
build/grunt/notify.js Normal file
View File

@ -0,0 +1,13 @@
// Notify end of copilation tasks
'use strict';
module.exports = function (grunt) {
return {
watch: {
options: {
title: 'Task Complete', // optional
message: 'SASS and Uglify finished running', //required
}
}
};
};

View File

@ -6,15 +6,20 @@ module.exports = function (grunt) {
return {
development: {
options: {
style: 'expanded'
precision: 6,
sourceComments: false,
sourceMap: true,
outputStyle: 'expanded'
},
files: {
'dist/css/AdminLTE.css': 'build/scss/AdminLTE.scss'
'dist/css/adminlte.css': 'build/scss/AdminLTE.scss'
}
},
production: {
options: {
style: 'compressed'
sourceComments: false,
sourceMap: true,
outputStyle: 'compressed'
},
files: {
'dist/css/adminlte.min.css': 'build/scss/AdminLTE.scss'