forked from justinwalsh/daux.io
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Gruntfile.js
39 lines (37 loc) · 1 KB
/
Gruntfile.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
module.exports = function(grunt) {
grunt.loadNpmTasks('grunt-php');
grunt.loadNpmTasks('grunt-contrib-less');
grunt.loadNpmTasks('grunt-contrib-watch');
grunt.initConfig({
php: {
dist: {
options: {
keepalive: true,
open: true,
port: 8085
}
}
},
less: {
development: {
files: {
"css/daux-blue.css": "less/daux-blue.less",
"css/daux-green.css": "less/daux-green.less",
"css/daux-navy.css": "less/daux-navy.less",
"css/daux-red.css": "less/daux-red.less"
}
}
},
watch: {
scripts: {
files: ['less/**/*.less'],
tasks: ['less'],
options: {
nospawn: true
},
},
},
});
//grunt.registerTask('default', ['less', 'watch']);
grunt.registerTask('default', ['php']);
}