12345678910111213141516171819202122232425262728293031323334353637383940 |
- module.exports = function(grunt) {
- grunt.initConfig({
- pkg: grunt.file.readJSON('package.json'),
- sass: {
- options: {
- includePaths: ['bower_components/foundation/scss']
- },
- dist: {
- options: {
- outputStyle: 'compressed',
- sourceMap: true,
- },
- files: {
- '/var/www/timetracker/public/style/app.css': 'scss/app.scss'
- }
- }
- },
- watch: {
- grunt: {
- options: {
- reload: true
- },
- files: ['Gruntfile.js']
- },
- sass: {
- files: 'scss/**/*.scss',
- tasks: ['sass']
- }
- }
- });
- grunt.loadNpmTasks('grunt-sass');
- grunt.loadNpmTasks('grunt-contrib-watch');
- grunt.registerTask('build', ['sass']);
- grunt.registerTask('default', ['build','watch']);
- }
|