mirror of https://github.com/q191201771/lal.git
15 lines
353 B
Bash
15 lines
353 B
Bash
2 years ago
|
#!/usr/bin/env bash
|
||
|
|
||
|
#set -x
|
||
|
go env -w GO111MODULE=on
|
||
|
go env -w GOPROXY=https://goproxy.cn,https://goproxy.io,direct
|
||
|
export GO111MODULE=on
|
||
|
export GOPROXY=https://goproxy.cn,https://goproxy.io,direct
|
||
|
THIS_FILE=$(readlink -f $0)
|
||
|
THIS_DIR=$(dirname $THIS_FILE)
|
||
|
ROOT_DIR=${THIS_DIR}/..
|
||
|
|
||
|
cd ${ROOT_DIR}
|
||
|
make build
|
||
|
./bin/lalserver -c conf/lalserver.conf.json
|