GITLAB

Hermes / api-game

Sign in
  • Sign in
  • Project
  • Files
  • Commits
  • Network
  • Graphs
  • Issues 0
  • Merge Requests 0
  • Wiki
  • api-game_qianyi
  • sh
  • pre
  • build.sh
  • a000b07d   faet: sh Browse Code »
    王家文
    2024-04-10 10:02:54 +0800  
build.sh 302 Bytes
Edit Raw Blame History Permalink
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
# !/bin/bash
export GOPATH="/home/www/gopath:/home/code/go/apigame"

codedir=/home/code/go/apigame/src

cd ${codedir}
if [ $? -ne 0 ];then
   echo "cd ${codedir} error"
   exit 3
fi
go build
if [ $? -ne 0 ]; then
   echo "go build $codedir error"
   exit 3
fi
echo "go build $codedir is ok...."
exit 0