/*global module*/
module.exports = function ( grunt ) {
	'use strict';

	grunt.loadNpmTasks( 'grunt-replace' );

	/**
	 * Replace variables like the Urls for the help, the version, etc.
	 */
	return {

		general: {
			options: {
				patterns: [
					{
						json: grunt.file.readYAML( 'gruntReplacements.yml' )
					}
				]
			},
			files: [
				{
					expand: true,
					flatten: false,
					src: ['../dist/**/*.*', '!../dist/**/*.{png,gif,jpg,ico,psd}'],
					dest: '../dist/'
				}
			]
		},
		dev: {
			options: {
				patterns: [
					{
						json: grunt.file.readYAML( 'gruntReplacements_dev.yml' )
					}
				]
			},
			files: [
				{
					expand: true,
					flatten: false,
					src: ['../dist/*.*', '!../dist/**/*.{png,gif,jpg,ico,psd}'],
					dest: '../dist/'
				}
			]
		},
		release: {
			options: {
				patterns: [
					{
						json: grunt.file.readYAML( 'gruntReplacements_release.yml' )
					}
				]
			},
			files: [
				{
					expand: true,
					flatten: false,
					src: ['../dist/**/*.*', '!../dist/**/*.{png,gif,jpg,ico,psd}'],
					dest: '../dist/'
				}
			]
		}
	};
};

@@ -437,37 +437,54 @@
 ,gif,jpg,ico,psd
+,eot,svg,ttf,woff
 %7D'%5D,%0A
-
 %09%09%09%09%09dest: '../d
@@ -744,32 +744,49 @@
 ,gif,jpg,ico,psd
+,eot,svg,ttf,woff
 %7D'%5D,%0A%09%09%09%09%09dest: 
@@ -998,32 +998,32 @@
 flatten: false,%0A
-
 %09%09%09%09%09src: %5B'../d
@@ -1070,16 +1070,33 @@
 ,ico,psd
+,eot,svg,ttf,woff
 %7D'%5D,%0A%09%09%09

Exclude font files