Files
mining-client/test/test.sh
2025-11-26 16:16:17 +08:00

11 lines
199 B
Bash

#!/bin/bash
cd "$(dirname "$0")"
go build -o ./test/client test.go
if [ $? -eq 0 ]; then
echo "编译成功!可执行文件位于: ./test/client"
else
echo "编译失败!"
exit 1
fi