flatten vendor directory

pull/1458/head v4.7.1
Darien Raymond 6 years ago
parent bea521537e
commit 8567c66842
No known key found for this signature in database
GPG Key ID: 7251FFA14BB18169

@ -64,6 +64,14 @@ curl -L -o release/config/geoip.dat "https://github.com/v2ray/geoip/releases/dow
# Take a snapshot of all required source code
pushd $GOPATH/src
# Flatten vendor directories
cp -r v2ray.com/core/vendor/github.com/ ./github.com/
rm -rf v2ray.com/core/vendor/github.com/
cp -r github.com/lucas-clemente/quic-go/vendor/github.com/
rm -rf github.com/lucas-clemente/quic-go/vendor/
# Create zip file for all sources
zip -9 -r /v2/build/src_all.zip * -x '*.git*'
popd

Loading…
Cancel
Save