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