Skip to content
This repository has been archived by the owner on Aug 26, 2024. It is now read-only.

Commit

Permalink
Add pre-commit hook to run Makefile tasks
Browse files Browse the repository at this point in the history
Includes go code generation and bindings.
  • Loading branch information
jannikluhn committed Apr 7, 2024
1 parent 74207fb commit 91e289e
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -33,3 +33,20 @@ repos:
"javascript",
"proto",
]

- repo: local
hooks:
- id: generate
name: generate
language: system
entry: bash -c 'make gen'
always_run: true
pass_filenames: false
require_serial: true
- id: bindings
name: bindings
language: system
entry: bash -c 'make bindings'
always_run: true
pass_filenames: false
require_serial: true

0 comments on commit 91e289e

Please sign in to comment.