go.talks/pkg/socket: prevent use on AppEngine
This seems to fix my go.talks deployment on AppEngine. For some reason,
the init function of the socket package is run, which checks for /tmp
and exits if it does not exist.
R=adg
CC=dsymonds, golang-dev
https://golang.org/cl/7341051
diff --git a/pkg/socket/socket.go b/pkg/socket/socket.go
index d445fe6..f66294f 100644
--- a/pkg/socket/socket.go
+++ b/pkg/socket/socket.go
@@ -2,6 +2,8 @@
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
+// +build !appengine
+
// Package socket implements an WebSocket-based playground backend.
// Clients connect to a websocket handler and send run/kill commands, and
// the server sends the output and exit status of the running processes.