Files
nekoray/libs/get_source.sh
2022-08-08 11:11:25 +08:00

24 lines
381 B
Bash
Executable File

#!/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