File: post-commit

package info (click to toggle)
libcamera 0.5.2-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 14,380 kB
  • sloc: cpp: 81,540; python: 18,107; ansic: 12,608; sh: 1,258; makefile: 56
file content (13 lines) | stat: -rwxr-xr-x 424 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
#!/bin/sh

# SPDX-License-Identifier: GPL-2.0-or-later

# Execute the checkstyle script after committing any code. This allows the
# commit to succeed, but ensures that the developer is aware of any potential
# issues immediately, and can resolve them and fix rapidly with:
#   git commit --amend
#
# To utilise this hook, install this file with:
#   cp utils/hooks/post-commit .git/hooks/post-commit

./utils/checkstyle.py