mirror of
https://github.com/fatedier/frp.git
synced 2024-11-24 02:59:19 +08:00
build: add mips64 and mips64le
This commit is contained in:
parent
46ee2f2bc8
commit
603d7df49a
@ -3,10 +3,16 @@ export GO15VENDOREXPERIMENT := 1
|
||||
|
||||
all: build
|
||||
|
||||
build: gox app
|
||||
build: gox app more
|
||||
|
||||
gox:
|
||||
go get github.com/mitchellh/gox
|
||||
|
||||
app:
|
||||
gox -osarch "darwin/386 darwin/amd64 linux/386 linux/amd64 linux/arm windows/386 windows/amd64" ./src/...
|
||||
|
||||
more:
|
||||
env GOOS=linux GOARCH=mips64 go build -o ./frpc_linux_mips64 ./src/cmd/frpc
|
||||
env GOOS=linux GOARCH=mips64 go build -o ./frps_linux_mips64 ./src/cmd/frps
|
||||
env GOOS=linux GOARCH=mips64le go build -o ./frpc_linux_mips64le ./src/cmd/frpc
|
||||
env GOOS=linux GOARCH=mips64le go build -o ./frps_linux_mips64le ./src/cmd/frps
|
||||
|
@ -15,7 +15,7 @@ rm -rf ./packages
|
||||
mkdir ./packages
|
||||
|
||||
os_all='linux windows darwin'
|
||||
arch_all='386 amd64 arm'
|
||||
arch_all='386 amd64 arm mips64 mips64le'
|
||||
|
||||
for os in $os_all; do
|
||||
for arch in $arch_all; do
|
||||
|
Loading…
Reference in New Issue
Block a user