Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(166)

Unified Diff: third_party/gsutil/third_party/oauth2client/scripts/push-docs

Issue 1377933002: [catapult] - Copy Telemetry's gsutilz over to third_party. (Closed) Base URL: https://github.com/catapult-project/catapult.git@master
Patch Set: Rename to gsutil. Created 5 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/gsutil/third_party/oauth2client/scripts/push-docs
diff --git a/third_party/mapreduce/mapreduce/third_party/__init__.py b/third_party/gsutil/third_party/oauth2client/scripts/push-docs
similarity index 76%
copy from third_party/mapreduce/mapreduce/third_party/__init__.py
copy to third_party/gsutil/third_party/oauth2client/scripts/push-docs
index 6c49c4299556faf32422012d20c0b9e8609e5a91..45a347fa56578a36b196eef09f2116ca7a5ccd40 100755
--- a/third_party/mapreduce/mapreduce/third_party/__init__.py
+++ b/third_party/gsutil/third_party/oauth2client/scripts/push-docs
@@ -1,6 +1,6 @@
-#!/usr/bin/env python
+#!/bin/bash
#
-# Copyright 2010 Google Inc.
+# Copyright 2014 Google Inc. All rights reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
@@ -13,3 +13,8 @@
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
+#
+# Push a new version of the docs.
+
+REPO=${REPO:-'origin'}
+ghp-import -n docs/_build/html -r "${REPO}" -p

Powered by Google App Engine
This is Rietveld 408576698