blob: cfb097e9fb1eaf247a0656c3733f00b174efeb66 [file] [log] [blame]
vapierfe1005a2017-03-09 11:40:51 -08001#!/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
6URL_BASE='https://gerrit.googlesource.com/gitiles/+/HEAD/gitiles-servlet/src/main/resources/com/google/gitiles/static'
7
8# Quickly pull down the latest gitiles css files.
9for 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}"
14done