2015-07-18 14:44:08 -07:00
|
|
|
module.exports = function(grunt) {
|
|
|
|
|
|
|
|
grunt.initConfig({
|
|
|
|
watch: {
|
2015-08-30 22:50:44 -07:00
|
|
|
files: ["assets/css/stylus/*.styl"],
|
2015-07-18 14:44:08 -07:00
|
|
|
tasks: ["stylus"]
|
|
|
|
},
|
|
|
|
stylus: {
|
2015-08-30 22:50:44 -07:00
|
|
|
"assets/css/main.min.css": ["assets/css/stylus/*.styl"],
|
2015-07-18 14:44:08 -07:00
|
|
|
options: {
|
|
|
|
globals: {
|
|
|
|
compress: true
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
});
|
|
|
|
|
|
|
|
grunt.loadNpmTasks("grunt-contrib-stylus");
|
|
|
|
grunt.loadNpmTasks("grunt-contrib-watch");
|
|
|
|
|
|
|
|
grunt.registerTask("default", ["stylus"]);
|
|
|
|
|
|
|
|
};
|