forked from ocaml/opam-repository
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request ocaml#23715 from lefessan/z-2023-04-26-header-check
[ANN] Add header-check.0.1.0, a tool to check all headers and manage them
- Loading branch information
Showing
1 changed file
with
50 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,50 @@ | ||
opam-version: "2.0" | ||
license: "LGPL-2.1-only WITH OCaml-LGPL-linking-exception" | ||
synopsis: "A tool to check and update source headers, using checksums" | ||
description: """\ | ||
The header-check tool scans a source project, lists all existing headers and | ||
can be used to update them. It uses checksums to create identifiers for | ||
headers and works with OCaml, C/C++ and Shell kinds of comments. | ||
""" | ||
authors: ["Fabrice Le Fessant <[email protected]>"] | ||
maintainer: ["Fabrice Le Fessant <[email protected]>"] | ||
homepage: "https://ocamlpro.github.io/header-check" | ||
doc: "https://ocamlpro.github.io/header-check/sphinx" | ||
bug-reports: "https://github.com/ocamlpro/header-check/issues" | ||
dev-repo: "git+https://github.com/ocamlpro/header-check.git" | ||
tags: "org:ocamlpro" | ||
build: [ | ||
["dune" "subst"] {dev} | ||
["sh" "-c" "./scripts/before.sh build '%{name}%'"] | ||
[ | ||
"dune" | ||
"build" | ||
"-p" | ||
name | ||
"-j" | ||
jobs | ||
"@install" | ||
"@runtest" {with-test} | ||
"@doc" {with-doc} | ||
] | ||
["sh" "-c" "./scripts/after.sh build '%{name}%'"] | ||
] | ||
install: [ | ||
["sh" "-c" "./scripts/before.sh install '%{name}%'"] | ||
] | ||
depends: [ | ||
"ocaml" {>= "4.07.0"} | ||
"dune" {>= "2.7.0"} | ||
"ocplib_stuff" {>= "0.1"} | ||
"ez_file" {>= "0.3"} | ||
"base-unix" {>= "base"} | ||
"ppx_inline_test" {with-test} | ||
"ppx_expect" {with-test} | ||
"odoc" {with-doc} | ||
"ocamlformat" {with-test} | ||
] | ||
|
||
url { | ||
src: "https://github.com/ocamlpro/header-check/archive/v0.1.0.tar.gz" | ||
checksum: [ "sha256=44ef7d6fe8686c3ab8161094d1fcca37e3cce5f2071ed2ad5afc11c180fe69e7" ] | ||
} |