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