mirror of
https://github.com/c-cube/ocaml-containers.git
synced 2026-05-05 17:04:25 -04:00
add pre commit hook
This commit is contained in:
parent
aeae7c1039
commit
a20eddfdd3
1 changed files with 15 additions and 0 deletions
15
.pre-commit-config.yaml
Normal file
15
.pre-commit-config.yaml
Normal file
|
|
@ -0,0 +1,15 @@
|
||||||
|
repos:
|
||||||
|
- repo: local
|
||||||
|
hooks:
|
||||||
|
- id: dune-build-fmt
|
||||||
|
name: dune build @fmt
|
||||||
|
entry: dune build @fmt --auto-promote
|
||||||
|
pass_filenames: false
|
||||||
|
language: system
|
||||||
|
types: [text]
|
||||||
|
- id: dune-build-opam
|
||||||
|
name: dune build
|
||||||
|
entry: dune build @opam
|
||||||
|
pass_filenames: false
|
||||||
|
language: system
|
||||||
|
types: [text]
|
||||||
Loading…
Add table
Reference in a new issue