Skip to content

Instantly share code, notes, and snippets.

@jide
Last active January 3, 2016 09:09
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jide/8440502 to your computer and use it in GitHub Desktop.
Save jide/8440502 to your computer and use it in GitHub Desktop.
'use strict';//jshint
module.exports = function(grunt) {
grunt.initConfig({
less: {
compileCore: {
files: {
'css/style.css': 'less/style.less'
}
}
},
watch: {
less: {
files: [
'less/*.less',
'bootstrap/less/*.less',
],
tasks: ['less']
},
},
clean: {
dist: [
'styles/style.min.css'
]
}
});
grunt.loadNpmTasks('grunt-contrib-clean');
grunt.loadNpmTasks('grunt-contrib-watch');
grunt.loadNpmTasks('grunt-contrib-less');
grunt.registerTask('default', [
'clean',
'less'
]);
grunt.registerTask('dev', [
'watch'
]);
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment