summarylogtreecommitdiffstats
path: root/.pre-commit-config.yaml
blob: 82f3484f3d1e895df291092b36861d84afa00c8d (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 codegen && git add PKGBUILD .SRCINFO'