Skip to content

Commit

Permalink
Remove grunt-contrib-less and using recess instead
Browse files Browse the repository at this point in the history
  • Loading branch information
jbrad committed Nov 18, 2013
1 parent b7ef699 commit b286c39
Show file tree
Hide file tree
Showing 6 changed files with 1,819 additions and 425 deletions.
40 changes: 1 addition & 39 deletions Gruntfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -103,43 +103,6 @@ module.exports = function(grunt) {
}
},

less: {
bootstrap: {
options: {
paths: ["less"],
banner: '<%= banner %>'
},
src: ['less/bootstrap.less'],
dest: 'dist/css/bootstrap.css'
},
min: {
options: {
paths: ["less"],
compress: true,
banner: '<%= banner %>'
},
src: ['less/bootstrap.less'],
dest: 'dist/css/bootstrap.min.css'
},
theme: {
options: {
paths: ["less"],
banner: '<%= banner %>'
},
src: ['less/theme.less'],
dest: 'dist/css/bootstrap-theme.css'
},
theme_min: {
options: {
paths: ["less"],
compress: true,
banner: '<%= banner %>'
},
src: ['less/theme.less'],
dest: 'dist/css/bootstrap-theme.min.css'
}
},

sass: {
dist: {
files: {
Expand Down Expand Up @@ -255,7 +218,6 @@ module.exports = function(grunt) {
grunt.loadNpmTasks('grunt-html-validation');
grunt.loadNpmTasks('grunt-jekyll');
grunt.loadNpmTasks('grunt-recess');
grunt.loadNpmTasks('grunt-contrib-less');
grunt.loadNpmTasks('grunt-bower-task');
grunt.loadNpmTasks('grunt-sass');
grunt.loadNpmTasks('grunt-sed');
Expand All @@ -278,7 +240,7 @@ module.exports = function(grunt) {
grunt.registerTask('dist-js', ['concat', 'uglify']);

// CSS distribution task.
grunt.registerTask('dist-css', ['sass', 'less']);
grunt.registerTask('dist-css', ['sass', 'recess']);

// Fonts distribution task.
grunt.registerTask('dist-fonts', ['copy']);
Expand Down
Loading

0 comments on commit b286c39

Please sign in to comment.