Update repository
This commit is contained in:
parent
e5a935a85b
commit
df2a986286
7 changed files with 35 additions and 24 deletions
|
|
@ -1,15 +1,10 @@
|
|||
#!/bin/bash
|
||||
|
||||
export GOPATH=/home/horscchtey/go
|
||||
export CC=arm-linux-gnueabihf-gcc
|
||||
export CXX=arm-linux-gnueabihf-g++
|
||||
export GOPATH=/home/boddle/go
|
||||
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[@]}"
|
||||
go build -v -p ${nproc} "${src[@]}"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue