先行版
This commit is contained in:
10
test/test.sh
Normal file
10
test/test.sh
Normal file
@@ -0,0 +1,10 @@
|
||||
#!/bin/bash
|
||||
cd "$(dirname "$0")"
|
||||
go build -o ./test/client test.go
|
||||
if [ $? -eq 0 ]; then
|
||||
echo "编译成功!可执行文件位于: ./test/client"
|
||||
else
|
||||
echo "编译失败!"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user