Files
nekoray/libs/get_source.sh
2024-07-02 12:02:34 +09:00

32 lines
431 B
Bash
Executable File

#!/bin/bash
set -e
source libs/env_deploy.sh
ENV_NEKORAY=1
source libs/get_source_env.sh
pushd ..
####
if [ ! -d "sing-box" ]; then
git clone --no-checkout https://github.com/MatsuriDayo/sing-box.git
fi
pushd sing-box
git checkout "$COMMIT_SING_BOX"
popd
####
if [ ! -d "libneko" ]; then
git clone --no-checkout https://github.com/MatsuriDayo/libneko.git
fi
pushd libneko
git checkout "$COMMIT_LIBNEKO"
popd
####
popd