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

Side by Side Diff: third_party/polymer/v1_0/reproduce.sh

Issue 2658963002: MD Settings: paper-toggle-button version 1.2.0 -> 1.3.0 (Closed)
Patch Set: Created 3 years, 11 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
« no previous file with comments | « third_party/polymer/v1_0/components_summary.txt ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 #!/bin/bash 1 #!/bin/bash
2 2
3 # Copyright 2014 The Chromium Authors. All rights reserved. 3 # Copyright 2014 The Chromium 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 # Reproduces the content of 'components' and 'components-chromium' using the 7 # Reproduces the content of 'components' and 'components-chromium' using the
8 # list of dependencies from 'bower.json'. Downloads needed packages and makes 8 # list of dependencies from 'bower.json'. Downloads needed packages and makes
9 # Chromium specific modifications. To launch the script you need 'bower' and 9 # Chromium specific modifications. To launch the script you need 'bower' and
10 # 'crisper' installed on your system. 10 # 'crisper' installed on your system.
11 11
12 # Mac users - first install GNU-sed over the system sed:
michaelpg 2017/01/27 03:07:11 could we check for the version or behavior we need
scottchen 2017/01/27 19:48:39 Done.
13 # `brew install gnu-sed --width-default-names`
michaelpg 2017/01/27 03:07:11 i'm going to guess this should be "with"?
scottchen 2017/01/27 19:48:39 Acknowledged.
14
12 check_dep() { 15 check_dep() {
13 eval "$1" >/dev/null 2>&1 16 eval "$1" >/dev/null 2>&1
14 if [ $? -ne 0 ]; then 17 if [ $? -ne 0 ]; then
15 echo >&2 "This script requires $2." 18 echo >&2 "This script requires $2."
16 echo >&2 "Have you tried $3?" 19 echo >&2 "Have you tried $3?"
17 exit 1 20 exit 1
18 fi 21 fi
19 } 22 }
20 23
21 check_dep "which npm" "npm" "visiting https://nodejs.org/en/" 24 check_dep "which npm" "npm" "visiting https://nodejs.org/en/"
(...skipping 84 matching lines...) Expand 10 before | Expand all | Expand 10 after
106 echo 'Creating GYP files for interfaces and externs...' 109 echo 'Creating GYP files for interfaces and externs...'
107 ./generate_gyp.sh 110 ./generate_gyp.sh
108 111
109 echo 'Vulcanizing dependent UIs...' 112 echo 'Vulcanizing dependent UIs...'
110 python ../../../chrome/browser/resources/vulcanize.py 113 python ../../../chrome/browser/resources/vulcanize.py
111 114
112 popd > /dev/null 115 popd > /dev/null
113 116
114 echo 'Searching for unused elements...' 117 echo 'Searching for unused elements...'
115 python "$(dirname "$0")"/find_unused_elements.py 118 python "$(dirname "$0")"/find_unused_elements.py
OLDNEW
« no previous file with comments | « third_party/polymer/v1_0/components_summary.txt ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698