mirror of
https://github.com/MatsuriDayo/nekoray.git
synced 2025-12-17 12:34:37 +03:00
update build script
This commit is contained in:
23
libs/get_source.sh
Executable file
23
libs/get_source.sh
Executable 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
|
||||
Reference in New Issue
Block a user