minetest.github.io/Gruntfile.js

24 lines
455 B
JavaScript
Raw Normal View History

2015-07-18 14:44:08 -07:00
module.exports = function(grunt) {
grunt.initConfig({
watch: {
files: ["assets/css/stylus/*.styl"],
2015-07-18 14:44:08 -07:00
tasks: ["stylus"]
},
stylus: {
"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"]);
};