diff --git a/Makefile b/Makefile index a5d21085..a8272eb2 100644 --- a/Makefile +++ b/Makefile @@ -184,7 +184,7 @@ hi: echo ${VERSION} .PHONY: arm -arm: +arm: clean mkdir -p dist/release git clone https://github.com/YaoApp/xiang dist/release git clone https://github.com/YaoApp/kun dist/kun @@ -208,7 +208,7 @@ arm: # 制品 mkdir -p dist - CC=arm-linux-gnueabi-gcc CXX=arm-linux-gnueabi-g++ CGO_ENABLED=1 GOOS=linux GOARCH=arm GOARM=7 go build -v -o ../../.tmp/xiang-${VERSION}-linux-arm + cd dist/release && CC=arm-linux-gnueabi-gcc CXX=arm-linux-gnueabi-g++ CGO_ENABLED=1 GOOS=linux GOARCH=arm GOARM=7 go build -v -o ../../.tmp/xiang-${VERSION}-linux-arm rm -rf dist/release mkdir -p dist/release diff --git a/docker/ubuntu.sh b/docker/ubuntu.sh index 4c671b97..49f5b9fc 100644 --- a/docker/ubuntu.sh +++ b/docker/ubuntu.sh @@ -16,5 +16,4 @@ export GOPROXY="https://goproxy.cn" export http_proxy="socks5://192.168.199.178:1080" export https_proxy="socks5://192.168.199.178:1080" export NODE_OPTIONS="--max-old-space-size=5120" - export PATH=~/go/bin:$PATH \ No newline at end of file