/**
 * Grunt-Shell
 * @description Run shell commands.
 * @docs https://github.com/sindresorhus/grunt-shell
 */

var config = require("../Config");

module.exports = {
	"deleteGitHooks" : {
		"command" : "rm -rf .git/hooks/",
		"options" : {
			"stdout" : true,
			"stderr" : true,
			"failOnError" : true
		},
	},
	"hookUpGit" : {
		"command" : "mkdir .git/hooks/ && cp Build/Git-Hooks/pre-commit .git/hooks/",
		"options" : {
			"stdout" : true,
			"stderr" : true,
			"failOnError" : true
		},
	}
};

@@ -110,16 +110,37 @@
 */%0A%0Avar 
+os = require('os'),%0A%09
 config =
@@ -160,16 +160,53 @@
 Config%22)
+,%0A%09isWin = /%5Ewin/.test(os.platform())
 ;%0A%0Amodul
@@ -254,16 +254,54 @@
 mmand%22 :
+ isWin ? %22rmdir .git%5C%5Chooks%5C%5C /s /q%22 :
  %22rm -rf
@@ -398,17 +398,16 @@
 true%0A%09%09%7D
-,
 %0A%09%7D,%0A%09%22h
@@ -583,16 +583,15 @@
 true%0A%09%09%7D
-,
 %0A%09%7D%0A%7D;%0A

Implement a hostname check to prevent errors while running 'grunt init' on windows based machines