module.exports = {
	build: {
		files: [
			{
				src: [
					'**',
					'!docs/**',
					'!node_modules/**',
					'!release/**',
					'!.csscomb.json',
					'!.jshintrc',
					'!config.json',
					'!config-sample.json',
					'!Gruntfile.js',
					'!package.json',
					'!README.md',
					'!todos.txt'
				],
				dest: 'release/<%= name %>',
				expand: true
			}
		]
	},
	buildwpcom: {
		files: [
			{
				cwd: 'release/<%= name %>/',
				src: ['**'],
				dest: '../<%= name %>-wpcom',
				expand: true
			}
		]
	}
}

module.exports = {
	build: {
		files: [
			{
				src: [
					'**',
					'!docs/**',
					'!node_modules/**',
					'!release/**',
					'!.csscomb.json',
					'!.jshintrc',
					'!config.json',
					'!config-sample.json',
					'!Gruntfile.js',
					'!package.json',
					'!README.md',
					'!todos.txt'
				],
				dest: 'release/<%= name %>',
				expand: true
			}
		]
	},
	buildwporg: {
		files: [
			{
				cwd: 'release/<%= name %>/',
				src: ['**'],
				dest: '../<%= name %>-wporg',
				expand: true
			}
		]
	},
	buildwpcom: {
		files: [
			{
				cwd: 'release/<%= name %>/',
				src: ['**'],
				dest: '../<%= name %>-wpcom',
				expand: true
			}
		]
	}
}

Add a copy target to create a theme directory with the wporg build.