Installs pre-commit hooks for OCaml projects that run dune fmt automatically
at main 33 lines 811 B view raw
1# This file is generated by dune, edit dune-project instead 2opam-version: "2.0" 3synopsis: "Pre-commit hook initialization for OCaml projects" 4description: 5 "A CLI tool to initialize pre-commit hooks for OCaml projects. Sets up automatic formatting with dune fmt and removes Claude attribution from commit messages." 6maintainer: ["Thomas Gazagnaire <thomas@gazagnaire.org>"] 7authors: ["Thomas Gazagnaire <thomas@gazagnaire.org>"] 8license: "MIT" 9depends: [ 10 "dune" {>= "3.0"} 11 "ocaml" {>= "4.08"} 12 "cmdliner" {>= "1.2"} 13 "eio" {>= "1.0"} 14 "fmt" {>= "0.9"} 15 "git" {>= "0.1"} 16 "re" {>= "1.0"} 17 "alcotest" {with-test} 18 "odoc" {with-doc} 19] 20build: [ 21 ["dune" "subst"] {dev} 22 [ 23 "dune" 24 "build" 25 "-p" 26 name 27 "-j" 28 jobs 29 "@install" 30 "@runtest" {with-test} 31 "@doc" {with-doc} 32 ] 33]