This commit is contained in:
swrup 2025-11-11 02:07:51 +01:00
parent aa2ff7b2f0
commit 2f3113f55d
11742 changed files with 1223940 additions and 0 deletions

View file

@ -0,0 +1,26 @@
#!/bin/bash
version=426a63dadaba7f47435c9b01d8cb932c548ff2e2
name=opam-file-format
set -e -o pipefail
TMP="$(mktemp -d)"
trap "rm -rf $TMP" EXIT
rm -rf $name
mkdir -p $name/
(
cd $TMP
git clone https://github.com/ocaml-dune/$name.git
cd $name
git checkout $version
)
SRC=$TMP/$name
cp -v $SRC/src/*.{ml,mli,mll,mly} $SRC/LICENSE $name/
git checkout $name/dune
git add -A .