update build script

This commit is contained in:
arm64v8a
2022-08-08 11:07:29 +08:00
parent fac593b803
commit 8031c68038
13 changed files with 163 additions and 104 deletions

23
libs/get_source.sh Executable file
View File

@@ -0,0 +1,23 @@
#!/bin/bash
set -e
source libs/deploy_common.sh
#### get source ####
COMMIT_M=$(cat matsuri_commit.txt)
COMMIT_V=$(cat core_commit.txt)
pushd ..
git clone --no-checkout https://github.com/MatsuriDayo/Matsuri.git
git clone --no-checkout https://github.com/MatsuriDayo/v2ray-core.git
pushd Matsuri
git checkout $COMMIT_M
popd
pushd v2ray-core
git checkout $COMMIT_V
popd
popd