//SetTarget sets the operation system to build the executable for
SetTarget sets the operation system to build the executable for
// SetTarget sets the operation system to build the executable for
func (app *App) SetTarget(target string) (err error) {
	switch target {
	case "win":
		fallthrough
	case "windows":
		fallthrough
	case "win32":
		app.Target = "win"
	case "linux":
		app.Target = "linux"
	case "darwin":
		fallthrough
	case "mac":
		app.Target = "mac"
	default:
		return errors.New("Unkown build target " + target)
	}
	return
}
func ( app * App ) SetTarget ( target string ) ( err error ) { switch target { case " " : fallthrough case " " : fallthrough case " " : app . Target = " " case " " : app . Target = " " case " " : fallthrough case " " : app . Target = " " default : return errors . New ( " " + target ) } return }
SetTarget sets the operation system to build the executable for
SetTarget sets the operation system to build the executable for