summarylogtreecommitdiffstats
path: root/.pre-commit-config.yaml
blob: 369fe9b4d531de46f5de8ec3b0fded3622642281 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
# See https://pre-commit.com for more information
# See https://pre-commit.com/hooks.html for more hooks
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
  rev: v4.0.1
  hooks:
  - id: trailing-whitespace
  - id: check-added-large-files
  - id: mixed-line-ending
- repo: local
  hooks:
  - id: makepkg
    name: makepkg
    pass_filenames: false
    always_run: true
    language: system
    entry: |
      sh -c 'make package && git add PKGBUILD .SRCINFO'