mirror of
https://github.com/v2ray/v2ray-core.git
synced 2026-11-29 15:33:44 +00:00
flatten vendor directory
This commit is contained in:
1 file changed
+8
@@ -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
|
# Take a snapshot of all required source code
|
||||||
pushd $GOPATH/src
|
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*'
|
zip -9 -r /v2/build/src_all.zip * -x '*.git*'
|
||||||
popd
|
popd
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user