_exec("cd src && go build -o ../bin/gorush.mac"); } public function testMac() { $this->_exec("bin/gorush.mac -c ../src/config/testdata/config.online.yml"); } public function buildLinux() { $this->_exec("cd src && CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build -o ../../../docker/web/gorush"); } }