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

Side by Side Diff: tools/create_skia_google3_client.sh

Issue 1406283002: Include resources directory in google3 sync. (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 5 years, 2 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 unified diff | Download patch
OLDNEW
1 #!/bin/bash 1 #!/bin/bash
2 # Copyright 2014 Google Inc. 2 # Copyright 2014 Google Inc.
3 # 3 #
4 # Use of this source code is governed by a BSD-style license that can be 4 # Use of this source code is governed by a BSD-style license that can be
5 # found in the LICENSE file. 5 # found in the LICENSE file.
6 6
7 # Create a google3 CitC client in which code can be submitted to either google3 7 # Create a google3 CitC client in which code can be submitted to either google3
8 # or Git. 8 # or Git.
9 # 9 #
10 # Usage: 10 # Usage:
11 # ./tools/create_skia_google3_client.sh <client_name> 11 # ./tools/create_skia_google3_client.sh <client_name>
12 12
13 source gbash.sh || exit 13 prodcertstatus -q || (echo "Please run prodaccess." 1>&2; exit 1)
14 source gbash.sh || exit 2
14 15
15 set -x -e 16 set -e
16 17
17 CLIENT="$1" 18 CLIENT="$1"
18 g4 citc "${CLIENT}" 19 g4 citc "${CLIENT}"
19 cd "/google/src/cloud/${USER}/${CLIENT}/google3/third_party/skia/HEAD" 20 cd "/google/src/cloud/${USER}/${CLIENT}/google3/third_party/skia/HEAD"
20 21
21 REV="$(cat README.google | grep -e "^Version" | sed "s/^Version: \(.*\)/\1/")" 22 REV="$(cat README.google | grep -e "^Version" | sed "s/^Version: \(.*\)/\1/")"
22 23
23 MY_DIR="$(gbash::get_absolute_caller_dir)" 24 MY_DIR="$(gbash::get_absolute_caller_dir)"
24 ${MY_DIR}/git_clone_to_google3.sh --skia_rev "${REV}" 25 ${MY_DIR}/git_clone_to_google3.sh --skia_rev "${REV}"
26
27 echo "Created client ${CLIENT} synced to ${REV}"
OLDNEW
« BUILD.public ('K') | « LICENSE ('k') | tools/get_skia_lkgr.sh » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698