v1.4.2 released

This commit is contained in:
lealife
2015-12-25 23:45:38 +08:00
parent e685a99628
commit 530f2368da
8 changed files with 44 additions and 16 deletions

18
bin/run-linux-386.sh Normal file
View File

@ -0,0 +1,18 @@
#!/bin/sh
SCRIPTPATH=$(cd "$(dirname "$0")"; pwd)
# set link
path="$SCRIPTPATH/src/github.com/leanote"
if [ ! -d "$path" ]; then
mkdir -p "$path"
fi
rm -rf $SCRIPTPATH/src/github.com/leanote/leanote # 先删除
ln -s ../../../../ $SCRIPTPATH/src/github.com/leanote/leanote
# set GOPATH
export GOPATH=$SCRIPTPATH
script="$SCRIPTPATH/leanote-linux-386"
chmod 777 $script
$script -importPath github.com/leanote/leanote