Skip to content

Commit 93b3d85

Browse files
committed
Release. Add column validation. Style improvements.
1 parent 89f2223 commit 93b3d85

File tree

17 files changed

+244
-6058
lines changed

17 files changed

+244
-6058
lines changed

Gruntfile.js

Lines changed: 17 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -35,10 +35,7 @@ module.exports = function(grunt) {
3535
less: {
3636
live:{
3737
options: {
38-
sourceMap: true,
39-
sourceMapFilename: 'assets/css/main.map',
40-
sourceMapBasepath: '/src/',
41-
sourceMapRootpath: '/'
38+
cleancss: true
4239
},
4340
files:{
4441
'assets/css/main.css': ['src/less/main.less']
@@ -76,8 +73,23 @@ module.exports = function(grunt) {
7673
base: './'
7774
}
7875
}
76+
},
77+
notify:{
78+
connect:{
79+
options:{
80+
title: 'Grunt server',
81+
message: 'Server started at '+ portNumber
82+
}
83+
}
84+
},
85+
notify_hooks:{
86+
options:{
87+
enabled: true,
88+
}
7989
}
8090
});
91+
grunt.loadNpmTasks('grunt-notify');
92+
grunt.task.run('notify_hooks');
8193
grunt.registerTask('js','',function(){
8294
grunt.loadNpmTasks('grunt-contrib-jshint');
8395
grunt.loadNpmTasks('grunt-contrib-uglify');
@@ -101,6 +113,7 @@ module.exports = function(grunt) {
101113
} else {
102114
shell.exec('start http://localhost:' + portNumber);
103115
}
116+
grunt.task.run('notify:connect');
104117
grunt.task.run('watch');
105118
});
106119
};

0 commit comments

Comments
 (0)