2021-12-14 01:02:02 +01:00
|
|
|
#!/bin/bash
|
|
|
|
|
|
|
|
echo "This script deletes `benchmark`, clones it from github, together"
|
|
|
|
echo "with its dependencies. It then removes .git* files and dirs."
|
|
|
|
echo "NOTE!!!"
|
|
|
|
echo "Please double-check the benchmark github wiki for any changes"
|
|
|
|
echo "to dependencies. Currently, these are limited to googletest."
|
|
|
|
echo
|
|
|
|
read -p "Press a key to continue, or Ctrl+C to cancel"
|
|
|
|
|
|
|
|
rm -rf benchmark
|
|
|
|
git clone https://github.com/google/benchmark.git
|
|
|
|
rm -rf benchmark/.git*
|
2021-12-14 17:07:29 +01:00
|
|
|
find benchmark/ -name BUILD -delete
|
|
|
|
find benchmark/ -name BUILD.bazel -delete
|
2021-12-14 01:02:02 +01:00
|
|
|
|