mirror of
https://github.com/TeaOSLab/EdgeNode.git
synced 2025-11-03 23:11:55 +08:00
[反向代理]实验性添加TOA支持
This commit is contained in:
@@ -40,6 +40,12 @@ function build() {
|
||||
cp -R $ROOT/pages $DIST/
|
||||
cp -R $ROOT/resources $DIST/
|
||||
|
||||
# we support TOA on linux/amd64 only
|
||||
if [ $OS == "linux" -a $ARCH == "amd64" ]
|
||||
then
|
||||
cp -R $ROOT/edge-toa $DIST
|
||||
fi
|
||||
|
||||
echo "building ..."
|
||||
env GOOS=${OS} GOARCH=${ARCH} go build -o $DIST/bin/${NAME} -ldflags="-s -w" $ROOT/../cmd/edge-node/main.go
|
||||
|
||||
|
||||
1
build/edge-toa/.gitignore
vendored
Normal file
1
build/edge-toa/.gitignore
vendored
Normal file
@@ -0,0 +1 @@
|
||||
edge-toa
|
||||
Reference in New Issue
Block a user