blob: 70c485c8e4e382371f30973036911ed2c9ec3aaf [file] [log] [blame]
#!/bin/bash
set -x -e
export GOCACHE="$(pwd)/cache/go_cache"
export GOPATH="$(pwd)/cache/gopath"
export GOROOT="$(pwd)/go/go"
cd buildbot
task_drivers_dir=infra/bots/task_drivers
for td in $(cd ${task_drivers_dir} && ls); do
go build -o ${1}/${td} ${task_drivers_dir}/${td}/${td}.go
done