module.exports = function(grunt) {

	grunt.initConfig({
		sass: {
			compile: {
				options: {
					style: 'compressed'
				},
				files: {
					'styles/screen.css': 'styles/screen.scss'
				}
			}
		},
		autoprefixer: {
			prefix: {
				src: 'styles/screen.css'
			}
		},
		jekyll: {
			build: {}
		},
		htmlmin: {
			site: {
				options: {
					removeComments: true,
					collapseWhitespace: true
				},
				expand: true,
				cwd: '_site/',
				src: '**/*.html',
				dest: '_site/'
			}
		},
		imagemin: {
			site: {
				expand: true,
				cwd: '_site/',
				src: '**/*.{png,jpg,gif}',
				dest: '_site/'
			}
		},
		watch: {
			styles: {
				files: 'styles/*.scss',
				tasks: ['sass', 'autoprefixer', 'copy']
			},
			jekyll: {
				files: [
					'**',
					'!_site/**',
					'!node_modules/**',
					'!.sass-cache/**',
					'!styles/*',
					'!Gruntfile.js',
					'!README.md',
					'!package.json',
					'!.git/**'
				],
				tasks: ['jekyll', 'htmlmin']
			}
		},
		copy: {
			css: {
				files: {
					'_site/styles/screen.css' : 'styles/screen.css'
				}
			}
		},
		rsync: {
			options: {
				args: ['--delete', '-avz'],
				exclude: ['.DS_Store'],
				recursive: true
			},
			deploy: {
				src: '_site/',
				dest: '/var/www/html/',
				host: 'dev.opera.com'
			}
		}
	});

	grunt.loadNpmTasks('grunt-contrib-sass');
	grunt.loadNpmTasks('grunt-autoprefixer');
	grunt.loadNpmTasks('grunt-jekyll');
	grunt.loadNpmTasks('grunt-contrib-watch');
	grunt.loadNpmTasks('grunt-contrib-htmlmin');
	grunt.loadNpmTasks('grunt-contrib-imagemin');
	grunt.loadNpmTasks('grunt-contrib-copy');
	grunt.loadNpmTasks('grunt-rsync');

	grunt.registerTask('default', [
		'sass',
		'autoprefixer',
		'jekyll',
		'htmlmin',
		'imagemin'
	]);

	grunt.registerTask('deploy', ['default', 'rsync']);

};
@@ -1184,24 +1184,40 @@
 %09%09deploy: %7B%0A
+%09%09%09%09options: %7B%0A%09
 %09%09%09%09src: '_s
@@ -1219,24 +1219,25 @@
 : '_site/',%0A
+%09
 %09%09%09%09dest: '/
@@ -1260,29 +1260,36 @@
 %09%09%09%09
+%09
 host: '
-dev.opera.com'
+54.213.240.91'%0A%09%09%09%09%7D
 %0A%09%09%09
@@ -1776,27 +1776,16 @@
 ploy', %5B
-'default', 
 'rsync'%5D

fix broken `rsync` configuration