Created
December 8, 2013 17:19
-
-
Save i8ramin/7860462 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
'use strict'; | |
// # Globbing | |
// for performance reasons we're only matching one level down: | |
// 'test/spec/{,**/}*.js' | |
// use this if you want to recursively match all subfolders: | |
// 'test/spec/**/*.js' | |
module.exports = function (grunt) { | |
// show elapsed time at the end | |
require('time-grunt')(grunt); | |
// load all grunt tasks | |
require('load-grunt-tasks')(grunt); | |
grunt.initConfig({ | |
watch: { | |
compass: { | |
files: ['app/scss/{,**/}*.{scss,sass}'], | |
tasks: ['compass'] | |
} | |
}, | |
compass: { | |
options: { | |
sassDir: 'app/scss', | |
cssDir: 'www/stylesheets', | |
imagesDir: 'www/images', | |
fontsDir: 'app/scss/fonts', | |
httpImagesPath: '/images', | |
relativeAssets: false, | |
debugInfo: false | |
}, | |
dist: {} | |
} | |
}); | |
grunt.registerTask('default', [ | |
'watch' | |
]); | |
}; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment