Skip to content

Commit

Permalink
Update compass task
Browse files Browse the repository at this point in the history
  • Loading branch information
nicinabox committed May 21, 2013
1 parent 7ae0798 commit decf75f
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 76 deletions.
1 change: 0 additions & 1 deletion .rvmrc

This file was deleted.

5 changes: 0 additions & 5 deletions Gemfile

This file was deleted.

67 changes: 0 additions & 67 deletions Gemfile.lock

This file was deleted.

10 changes: 8 additions & 2 deletions Gruntfile.js
Expand Up @@ -57,14 +57,19 @@ module.exports = function(grunt) {
src: ['test/**/*.js']
},
},
compass: {
sassDir: 'scss',
cssDir: 'dist/stylesheets',
noLineComments: true
},
watch: {
gruntfile: {
files: '<%= jshint.gruntfile.src %>',
tasks: ['jshint:gruntfile']
},
src: {
files: '<%= jshint.src.src %>',
tasks: ['jshint:src', 'qunit']
files: ['<%= jshint.src.src %>', 'scss/*'],
tasks: ['compass', 'jshint:src', 'qunit']
},
test: {
files: '<%= jshint.test.src %>',
Expand All @@ -80,6 +85,7 @@ module.exports = function(grunt) {
grunt.loadNpmTasks('grunt-contrib-qunit');
grunt.loadNpmTasks('grunt-contrib-jshint');
grunt.loadNpmTasks('grunt-contrib-watch');
grunt.loadNpmTasks('grunt-contrib-compass');

// Default task.
grunt.registerTask('default', ['jshint', 'qunit', 'clean', 'concat', 'uglify']);
Expand Down
3 changes: 2 additions & 1 deletion package.json
Expand Up @@ -12,6 +12,7 @@
"grunt-contrib-concat": "~0.1.2",
"grunt-contrib-uglify": "~0.1.1",
"grunt-contrib-watch": "~0.2.0",
"grunt-contrib-clean": "~0.4.0"
"grunt-contrib-clean": "~0.4.0",
"grunt-contrib-compass": "~0.2.0"
}
}

0 comments on commit decf75f

Please sign in to comment.