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

Side by Side Diff: client/site_tests/graphics_WebGLConformance/scripts/make-tarball

Issue 6849012: update WebGL to initial release 1.0.0 (Closed) Base URL: ssh://gitrw.chromium.org:9222/autotest.git@master
Patch Set: move tarball to production url Created 9 years, 8 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 | Annotate | Revision Log
OLDNEW
1 #!/bin/bash 1 #!/bin/bash
2 2
3 # Copyright (c) 2010 The Chromium OS Authors. All rights reserved. 3 # Copyright (c) 2010 The Chromium OS Authors. All rights reserved.
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 usage() { 7 usage() {
8 echo "Usage: $0 <version-tag>" 8 echo "Usage: $0 <svn-version-tag>"
9 } 9 }
10 10
11 if [[ $# -lt 1 ]]; then 11 if [[ $# -lt 1 ]]; then
12 usage 12 usage
13 exit 0 13 exit 0
14 fi 14 fi
15 15
16 PACKAGENAME=webgl-tests-${1} 16 PACKAGENAME=webgl-conformance-1.0.0
17 17
18 # source locations and revisions, taken from the original DEPS file 18 # source locations and revisions, taken from the original DEPS file
19 WEBGL="https://cvs.khronos.org/svn/repos/registry/trunk/public/webgl/sdk/tests@1 1002" 19 WEBGL="https://cvs.khronos.org/svn/repos/registry/trunk/public/webgl/sdk/tests@$ 1"
20 WEBGLTO="WebGL" 20 WEBGLTO="WebGL"
21 21
22 function update_mirror() { 22 function update_mirror() {
23 LOCALMIRROR=$1 23 LOCALMIRROR=$1
24 [ -z "${LOCALMIRROR}" ] && return 0 24 [ -z "${LOCALMIRROR}" ] && return 0
25 25
26 echo -n "Update local mirror? [yn] " 26 echo -n "Update local mirror? [yn] "
27 read n 27 read n
28 if [[ "$n" == "y" ]]; then 28 if [[ "$n" == "y" ]]; then
29 cp "${PACKAGENAME}.tar.gz" ${LOCALMIRROR} 29 cp "${PACKAGENAME}.tar.gz" ${LOCALMIRROR}
30 fi 30 fi
31 } 31 }
32 32
33 function download_stuff() { 33 function download_stuff() {
34 FILESDIR=`dirname $0` 34 FILESDIR=`dirname $0`
35 35
36 echo "Getting WebGL stuff" 36 echo "Getting WebGL stuff"
37 for sub in WEBGL; do 37 for sub in WEBGL; do
38 eval svn export \$\{${sub}\} \$\{${sub}TO\} 38 eval svn export \$\{${sub}\} \$\{${sub}TO\}
39 done 39 done
40 40
41 tar -cvjf ${PACKAGENAME}.tar.bz2 WebGL 41 tar -cvjf ${PACKAGENAME}.tar.bz2 WebGL
42 } 42 }
43 43
44 download_stuff "$@" 44 download_stuff "$@"
45 update_mirror 45 update_mirror
46 46
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698