#!/bin/bash

rm -r upstream
git clone https://github.com/google/benchmark.git upstream
rm -rf upstream/.git
# Rename conflicting Bazel files.
mv upstream/WORKSPACE upstream/_WORKSPACE
mv upstream/BUILD.bazel upstream/_BUILD.bazel
mv upstream/test/BUILD upstream/test/_BUILD
