agc93
6/26/2016 - 3:20 PM

Task Runner config for multiple targets

Task Runner config for multiple targets

{
	"commands": {
		"build": {
			"fileName": "powershell.exe",
			"workingDirectory": "..",
			"arguments": "-ExecutionPolicy Bypass -NonInteractive -File ..\\build.ps1 -Script ..\\build.cake"
		},
		"build-only": {
			"fileName": "powershell.exe",
			"workingDirectory": "..",
			"arguments": "-ExecutionPolicy Bypass -NonInteractive -File ..\\build.ps1 -Script ..\\build.cake -Target \"Build\""
		},
		"publish": {
			"fileName": "powershell.exe",
			"workingDirectory": "..",
			"arguments": "-ExecutionPolicy Bypass -NonInteractive -File ..\\build.ps1 -Script ..\\build.cake -Target \"Package\""

		}
	}
}