This commit is contained in:
parent
aa2ff7b2f0
commit
2f3113f55d
11742 changed files with 1223940 additions and 0 deletions
21
unikernel/duniverse/dune_/vendor/update-sha.sh
vendored
Executable file
21
unikernel/duniverse/dune_/vendor/update-sha.sh
vendored
Executable file
|
|
@ -0,0 +1,21 @@
|
|||
#!/bin/bash
|
||||
|
||||
version=1.15.4
|
||||
name=sha
|
||||
|
||||
set -e -o pipefail
|
||||
|
||||
TMP="$(mktemp -d)"
|
||||
trap "rm -rf $TMP" EXIT
|
||||
|
||||
rm -rf $name
|
||||
mkdir -p $name/src
|
||||
|
||||
(cd $TMP && opam source $name.$version)
|
||||
|
||||
SRC=$TMP/$name.$version
|
||||
|
||||
cp -v $SRC/*.{ml,mli,c,h} $name/
|
||||
|
||||
git checkout $name/dune
|
||||
git add -A $name/
|
||||
Loading…
Add table
Add a link
Reference in a new issue