mirror of https://github.com/gogits/gogs.git
Lunny Xiao
11 years ago
1 changed files with 0 additions and 20 deletions
@ -1,20 +0,0 @@
|
||||
#!/usr/bin/env bash |
||||
|
||||
if [ ! -f install.sh ]; then |
||||
echo 'build.sh must be run within its container folder' 1>&2 |
||||
exit 1 |
||||
fi |
||||
|
||||
CURDIR=`pwd` |
||||
NEWPATH="$GOPATH/src/github.com/gpmgo/gopm" |
||||
if [ ! -d "$NEWPATH" ]; then |
||||
ln -s $CURDIR $NEWPATH |
||||
fi |
||||
|
||||
gofmt -w $CURDIR |
||||
|
||||
cd $NEWPATH |
||||
go install |
||||
cd $CURDIR |
||||
|
||||
echo 'Build successfully!' |
Loading…
Reference in new issue