Installs pre-commit hooks for OCaml projects that run dune fmt automatically
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

at 4e3fb7e7b3ff2524c6f95bfff02e09151ee453d2 32 lines 905 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" 9homepage: "https://tangled.org/gazagnaire.org/ocaml-precommit" 10bug-reports: "https://tangled.org/gazagnaire.org/ocaml-precommit/issues" 11depends: [ 12 "dune" {>= "3.0"} 13 "ocaml" {>= "4.08"} 14 "cmdliner" {>= "1.2"} 15 "ocamlformat" {with-dev-setup} 16 "alcotest" {with-test} 17 "odoc" {with-doc} 18] 19build: [ 20 ["dune" "subst"] {dev} 21 [ 22 "dune" 23 "build" 24 "-p" 25 name 26 "-j" 27 jobs 28 "@install" 29 "@runtest" {with-test} 30 "@doc" {with-doc} 31 ] 32]