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