蓝眼网盘定制版
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

28 lines
331 B

8 years ago
#!/bin/sh
homePath=$GOPATH/src/tank
oldPath=$(pwd)
echo "cd homePath"
cd $homePath
echo "shutdown tank"
source $homePath/build/script/shutdown.sh
8 years ago
echo "git reset"
git reset --hard HEAD
echo "git pull"
git pull
echo "go install tank"
go install tank
cd $oldPath
echo "startup tank"
source $homePath/doc/script/startup.sh