This commit is contained in:
parent
aa2ff7b2f0
commit
2f3113f55d
11742 changed files with 1223940 additions and 0 deletions
27
unikernel/duniverse/dune_/vendor/update-pp.sh
vendored
Executable file
27
unikernel/duniverse/dune_/vendor/update-pp.sh
vendored
Executable file
|
|
@ -0,0 +1,27 @@
|
|||
#!/bin/sh
|
||||
|
||||
version=b6741dd41ef5fc5bda8b3640097ac29818a43577
|
||||
|
||||
set -e -o pipefail
|
||||
|
||||
TMP="$(mktemp -d)"
|
||||
trap "rm -rf $TMP" EXIT
|
||||
|
||||
rm -rf pp
|
||||
mkdir -p pp/src
|
||||
|
||||
(
|
||||
cd $TMP
|
||||
git clone https://github.com/ocaml-dune/pp.git
|
||||
cd pp
|
||||
git checkout $version
|
||||
)
|
||||
|
||||
SRC=$TMP/pp
|
||||
|
||||
cp -v $SRC/src/pp.{ml,mli} pp/src
|
||||
cp -v $SRC/LICENSE.md pp/
|
||||
|
||||
git checkout pp/src/dune
|
||||
git checkout pp/LICENSE.md
|
||||
git add -A .
|
||||
Loading…
Add table
Add a link
Reference in a new issue