boddle/forraspidothis
Eva Dengler f6cf8b46ec kill bot after 10 minutes idling
should prevent 'ping loss' due to weird network setup
2022-03-05 21:39:54 +01:00

15 lines
321 B
Bash
Executable file

#!/bin/bash
export GOPATH=/home/horscchtey/go
export CC=arm-linux-gnueabihf-gcc
export CXX=arm-linux-gnueabihf-g++
export CGO_ENABLED=1
export GOOS=linux
export GOARCH=arm
export GOARM=7
declare -a src
src+=(bot.go boddle.go logging.go helpers.go types.go)
declare -i nproc="$(nproc)"
go build -p ${nproc} "${src[@]}"