mirror of https://github.com/q191201771/naza
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
13 lines
215 B
Bash
13 lines
215 B
Bash
6 years ago
|
#!/usr/bin/env bash
|
||
|
|
||
|
set -x
|
||
|
|
||
|
ROOT_DIR=`pwd`
|
||
|
echo ${ROOT_DIR}/bin
|
||
|
|
||
|
if [ ! -d ${ROOT_DIR}/bin ]; then
|
||
|
mkdir bin
|
||
|
fi
|
||
|
|
||
|
cd ${ROOT_DIR}/demo/connstat && GOOS=linux GOARCH=amd64 go build -o ${ROOT_DIR}/bin/connstat_linux
|