blob: 7b6463f0db9d4362a36ce48d8b9ffe9378abbdd1 (
plain) (
tree)
|
|
#!/bin/bash
if [ -e .dep/dkg ]; then
exit 0
fi
rm -rf vendor/github.com/herumi/*
if [ ! -d .dep/dkg ]; then
mkdir -p .dep/dkg
cd .dep/dkg
git clone --depth 1 git://github.com/herumi/xbyak.git &
git clone --depth 1 git://github.com/herumi/cybozulib.git &
git clone --depth 1 git://github.com/herumi/bls.git &
git clone --depth 1 git://github.com/herumi/mcl.git &
wait
cd bls
make test_go -j
cd ../../../
fi
cp -r .dep/dkg/* \
vendor/github.com/herumi
mkdir lib > /dev/null
cd lib
ln -s ../vendor/github.com/herumi/bls/lib/* .
|