• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1#!/bin/sh
2
3cd $(dirname $(dirname $0))
4
5ensure_file=$(mktemp)
6
7# https://chrome-infra-packages.appspot.com/p/fuchsia/third_party/clang
8echo 'fuchsia/third_party/clang/${platform} integration' > $ensure_file
9cipd ensure -ensure-file $ensure_file -root clang
10
11git ls-files | egrep '\.(h|cc)$' | fgrep -v 'third_party' |\
12    xargs ./clang/bin/clang-format -i
13