File: format_alias

package info (click to toggle)
kicad 9.0.3%2Bdfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 770,320 kB
  • sloc: cpp: 961,692; ansic: 121,001; xml: 66,428; python: 18,387; sh: 1,010; awk: 301; asm: 292; makefile: 227; javascript: 167; perl: 10
file content (10 lines) | stat: -rw-r--r-- 543 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
[alias]
	# Alias to check the formatting since the last commit and show the issues
	# that are found. No files will be changed. Only lines changed since the
	# last commit are considered (and only for files that should be reformatted)
	check-format = "! f() { tools/check_coding.sh --diff; }; f"

	# Alias to check and fix formatting issues in files changed since the last
	# commit. Only lines changed since the last commit are considered (and only
	# for files that should be reformatted)
	fix-format = "! f() { tools/check_coding.sh; }; f"