mirror of
https://github.com/MatsuriDayo/nekoray.git
synced 2025-12-17 04:24:38 +03:00
32 lines
431 B
Bash
Executable File
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
|