File: setup-aliases

package info (click to toggle)
adios2 2.11.0%2Bdfsg1-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 39,972 kB
  • sloc: ansic: 250,306; cpp: 189,875; yacc: 18,929; f90: 15,117; python: 8,047; perl: 7,126; sh: 3,049; lisp: 1,106; xml: 1,011; lex: 948; makefile: 598
file content (15 lines) | stat: -rwxr-xr-x 384 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#!/usr/bin/env bash

echo "Setting up git aliases..."
if ! which clang-format 1>/dev/null 2>&1
then
  echo "Warning: ADIOS uses clang-format to enforce style guidelines but no"
  echo "         clang-format binary was found in your path"
fi

if ! git config alias.clang-format "!scripts/developer/git/git-clang-format"
then
  echo "Waring: Error adding clang-format alias"
fi

exit 0