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

Side by Side Diff: tools/md_browser/update-css.sh

Issue 2741663002: helper script to update gitiles css (Closed)
Patch Set: Created 3 years, 9 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 | « no previous file | 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
(Empty)
1 #!/bin/bash
2 # Copyright 2017 The Chromium Authors. All rights reserved.
3 # Use of this source code is governed by a BSD-style license that can be
4 # found in the LICENSE file.
5
6 URL_BASE='https://gerrit.googlesource.com/gitiles/+/HEAD/gitiles-servlet/src/mai n/resources/com/google/gitiles/static'
7
8 # Quickly pull down the latest gitiles css files.
9 for css in base doc prettify/prettify; do
10 output="${css#*/}.css"
11 url="${URL_BASE}/${css}.css?format=TEXT"
12 echo "Updating ${output}"
13 curl "${url}" | base64 -d >"${output}"
14 done
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698