aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--.gitignore1
-rwxr-xr-xtools/bug_chomper/run_server.sh5
2 files changed, 6 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
index 5f82689656..ad0f8ff2e9 100644
--- a/.gitignore
+++ b/.gitignore
@@ -10,4 +10,5 @@ out
platform_tools/chromeos/third_party/externals
platform_tools/chromeos/toolchain
third_party/externals
+tools/bug_chomper/oauth_client_secret.json
xcodebuild
diff --git a/tools/bug_chomper/run_server.sh b/tools/bug_chomper/run_server.sh
index 5bedb4f9ae..1a49031f8e 100755
--- a/tools/bug_chomper/run_server.sh
+++ b/tools/bug_chomper/run_server.sh
@@ -7,5 +7,10 @@ go get github.com/gorilla/securecookie
DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
cd $DIR
+
+if [[ ! -f oauth_client_secret.json ]]; then
+ gsutil cp gs://chromium-skia-gm/bugchomper/oauth_client_secret.json .
+fi
+
GOPATH="$GOPATH:$DIR" go run $DIR/src/server/server.go $@