
This helps pull down the latest css files from gitiles. R=dpranke@chromium.org BUG= Review-Url: https://codereview.chromium.org/2741663002 Cr-Commit-Position: refs/heads/master@{#455832}
15 lines
529 B
Bash
Executable File
15 lines
529 B
Bash
Executable File
#!/bin/bash
|
|
# Copyright 2017 The Chromium Authors. All rights reserved.
|
|
# Use of this source code is governed by a BSD-style license that can be
|
|
# found in the LICENSE file.
|
|
|
|
URL_BASE='https://gerrit.googlesource.com/gitiles/+/HEAD/gitiles-servlet/src/main/resources/com/google/gitiles/static'
|
|
|
|
# Quickly pull down the latest gitiles css files.
|
|
for css in base doc prettify/prettify; do
|
|
output="${css#*/}.css"
|
|
url="${URL_BASE}/${css}.css?format=TEXT"
|
|
echo "Updating ${output}"
|
|
curl "${url}" | base64 -d >"${output}"
|
|
done
|