init the project

This commit is contained in:
Zic
2017-12-23 18:02:11 +08:00
commit 81e14d12ea
54 changed files with 6829 additions and 0 deletions

27
build/script/update.sh Normal file
View File

@ -0,0 +1,27 @@
#!/bin/sh
homePath=$GOPATH/src/tank
oldPath=$(pwd)
echo "cd homePath"
cd $homePath
echo "shutdown tank"
source $homePath/doc/script/shutdown.sh
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